The Un-Official Proxomitron Forum
google images - Printable Version

+- The Un-Official Proxomitron Forum (https://www.prxbx.com/forums)
+-- Forum: Proxomitron Filters (/forumdisplay.php?fid=38)
+--- Forum: Website Customization (/forumdisplay.php?fid=9)
+--- Thread: google images (/showthread.php?tid=1130)



google images - lnminente - Oct. 18, 2008 02:47 PM

This filter replaces the frameset of google images with the image you are looking for, if you click in the image it will give you to the page were the image is.

Code:
[Patterns]
Name = "Google images: <frameset> {ln}081023"
Active = TRUE
URL = "$TYPE(htm)[^/]++images.google.\w/"
Bounds = "$NEST(<frameset,</frameset>)|$NEST(<script,</script>)"
Limit = 1500
Match = "("
        "(*<frame\s*src=$AV(/imgres\1)*"
        "$TST(\1=*imgurl=\2\&*)"
        "$TST(\1=*imgrefurl=\3\&*)"
        "$SET(9=<body><a href="$UESC(\3)" Title="Click the image to go to his web"><img src="$UESC(\2)"></a></body>)"
        ")"
        "|<script*/script>"
        ")"
Replace = "\9"



RE: google images - lnminente - Oct. 21, 2008 10:47 AM

Ups! I forgot to remove the code for people not using html zones... $TST(V_Html=1)

BTW i was thinking nobody gives me thanks, but now i realise nobody downloaded it :P


RE: google images - whenever - Oct. 23, 2008 08:45 AM

You need to change images.google.es to images.google. too then I would give you a thank. Smile!

In fact, I am using sidki's config set, which has such filter built in already.


RE: google images - lnminente - Oct. 23, 2008 01:20 PM

Corrected. The thanks goes to you for your repply Whenever Wink

The Sidki's filter is similar but while it replaces the link directly to the image, i replace the frameset for the image, and conserve the link to the page where the image is located


RE: google images - whenever - Oct. 23, 2008 01:50 PM

The filter in Sidki's config set was made by ProxRocks.

How about combining the 2 filters together? That is, replace the link directly to the image as ProxRocks did, and conserve the link to the page as you did, but to the site name beneath?


RE: google images - lnminente - Oct. 23, 2008 10:32 PM

Is more difficult than it seems, i have in mind a filter to pass html code from the url after an \? to inject it in a html page located in html folder of proxo. If i get it i could do what you want. Anyway, i don't care so much in this kind of "tracking" because thanks to it our search results are better.