Click to See Complete Forum and Search --> : display a cached image
Bobby_S
12-10-2007, 08:42 AM
Hi all,
for example this page http://www.goldenpages.ie/detailsSearch.ds?detailsListingId=IE_302815_3&tab=
you see an emailaddress... but it's not in the html code. I guess it's a cached image (or how do you call this?)
I want to display it on my own webpage, but how can I do this?
I tried
http://www.goldenpages.ie/_eaW5mb0Bjb2NvZC5jb20=
or <img src=http://www.goldenpages.ie/_eaW5mb0Bjb2NvZC5jb20=>
but I can get it shown on my screen.
Help wanted.
Thx!
mfields
12-11-2007, 02:01 AM
Have you tried this:
http://img.goldenpages.ie.wdtest.osl.basefarm.net/27794.png
in your image tag?
Worked for me:)
Bobby_S
12-12-2007, 05:10 AM
no, it's "info [at]cocod [dot] com" I want to display, but I don't know if it's an image or something else. Look at the code, it's strange...
mfields
12-12-2007, 09:29 AM
Ok....
There's two possible things that I think you are referring to...
1 - The email address is plain text enclosed within an anchor tag - only thing that might through you off is the fact that the text is being linked to an extremely long url.
2 - The little envelope icon to the left of the address. This is applied via css. It's location is: http://www.goldenpages.ie/img/icon_email.gif
Am I close?
-Mike
Bobby_S
12-12-2007, 10:06 AM
No I think you are wrong:
open the html code, you will not find the emailaddres in plain text. It is refered to as "_eaW5mb0Bjb2NvZC5jb20=", but I have no clue what this is...
mfields
12-12-2007, 10:17 AM
Sorry,
Must have clicked on "view generated source" by mistake. You are correct, the encode string is in the actual html source. Javascript is being used to overwrite the text in the link to display the email address. Disable javascript in your browser and reload the page, you will see _eaW5mb0Bjb2NvZC5jb20= instead of the email address. This is not an image - just plain text.
Hope this clears things up,
-Mike
Bobby_S
12-12-2007, 10:25 AM
ok, now I see indeed when javascript disabled it doesn't show.
But still my first question stands:
I want to display the emailaddress on my own webpage, but how can I do this?
Thx for the help already!
mfields
12-12-2007, 10:30 AM
Do you mean that you want to pull content from www.goldenpages.ie and dynamically display it on your own site? I really don't know how you would do this unless www.goldenpages.ie offers some kinda api web service, or at least an rss feed with that data in it and I have a feeling that they don't due to the sensitivity of the information that they publish.
Sorry I can't be of more help. You could always just make a hard-coded link:)
-Mike