Zurück
If you want to have the contact information of your .Tel site also on your website?
|
Then we have 2 options for you.
Deutsche Version
Show the content of your .Tel Site on your Website by using PHP.
You need PHP (it should work with PHP4 if you have the Soap Modul)
This version works with the Tel API and through this your .Tel Admininterface access data are needed.
Here the DEMO and DOWNLOAD .
Configuration Notes:
var $conf_login = '********'; // Login for your Tel Webinterface
var $conf_password = '********'; // Password for your Tel Webinterface
var $conf_wsdl = 'client.wsdl'; // client.wsdl ()read below how to got it
var $conf_domain = 'jepaa.tel'; // the .Tel domain which is to show
var $google_api_code = 'ABQIAAAABdztET-yqcibcl4LaJHichTnE-meIsVg9kXEUHvkPkoibvyS3BTHpFexbWiVZSP9wZFMLacLvGj1ZQ'; // if you enter this code you will see the map directly on this page.
// to get a Google API code go to: http://code.google.com/intl/en-US/apis/maps/signup.html#agreeTerms
// there you enter the URL, where this page will be shown, up to the last / (not more) by "My web site URL", mark that you read the terms and submit, then you will find it on the top "Your key is:"
var $debug = false;
var $lang = ''; // you can set it to "de" / "en" when you like a static language. Else the system will choose the browser language. If you make new translations, please mail it to henning@movetec.ch thanks (look at line 40 and place files in the lang directory)
var $noCss = false;
var $cacheTime = 1440; // <<- 60*24=1440 = 1d Time in minutes how often it should be relodead. For this it is an contact.cache.html needed to be writeable 0 is off
/* ##############################################
END OF CONFIGURATION DONT MAKE ANY CHANGES BELOW
############################################## */
/*
this class should run under PHP4 i hope
written by Heiko Henning http://www.jepaa.tel
PLease visit: http://www.jepaa.com
http://www.tel-domain-forum.de/
http://www.movetec.ch/
whre you will finde the WSDL File.
go to the Page where you edit your Tel Domains IT should be like:
http://example.com/g2/login.action
Then change it in
http://example.com/client?wsdl
Than you will see an XML File. Save this with : file -> save page under to the same folder as this script.
Than you have to edit it with a programm like notepad
around row 51 you will find:
http://www.w3.org/2003/05/soap/bindings/HTTP/
change it in
http://schemas.xmlsoap.org/soap/http
and save
now you are Fine
*/
If you ask why we do not have used the DNA variant:
http://de.php.net/manual/de/function.dns-get-record.php
http://pear.php.net/package/Net_DNS
Those both do not understand the LOC Record and have problems with the TXT records (only show the header text)
Show the content of your .Tel Site on your Website by using JavaScript.
DEMO
For this you only need to embed the following code into your page:
<script type="text/javascript" src="http://www.jepaa.com/contact.php?domain=jepaa.tel&docWrite=1"></script>
For this simply replace jepaa.tel with your Domain.
This software determines over the browser language what language will be displayed. You can force it whith &lang=en.
At the moment only German and English are available, but you can translate it yourself by usign this template:
www.jepaa.com/contact_lang/en.phps
We would be pleased if you could also send us a copy to henning@movetec.ch
If you dont like the layout, you can change it with this: &noCss=1 stop loading the CSS file and build your own by using this template
www.jepaa.com/css/proxy_source.css
The results of this system are always up to 7 days out of date because of performance reasons it is cached. If you need current, please use the tool from the top.
Eilanfrage
|
|
|
|