Links to Picasa open in new window
Posted: Wed Feb 10, 2010 9:14 am
Hi there!
On my shared Serendipity installation, one blog is often posting links to picasa webalbums. They have huuuuge amounts of pictures, so hosting them myself seems not the best option. Additionally - by the original website design, not by my fault - the blog runs in a frame, and by default external links are opened in the same frame.
Recently picasa established a "security policy" that disallows their site from being shown in a frame (currently only working in IE8 and the newest FF). I asked in their forums, and the answers have been "we won't change that, you have to live with it" and "you can use the API for thst".
If I would be the one writing the blog entries, I would be fine with getting the API to work and using that. Sadly, the person who is writing the articles has not the slightest idea about what he is doing, so I definitely don't want to go that route.
Long story, one question: Is there a way to tweak serendipity, so that links to picasa.google.com open in target="_blank", while all other links stay untouched? I am a programmer, so I could modify code if necessary. But I am neither a php specialist nor do I have an idea how and where this could be achieved...
On my shared Serendipity installation, one blog is often posting links to picasa webalbums. They have huuuuge amounts of pictures, so hosting them myself seems not the best option. Additionally - by the original website design, not by my fault - the blog runs in a frame, and by default external links are opened in the same frame.
Recently picasa established a "security policy" that disallows their site from being shown in a frame (currently only working in IE8 and the newest FF). I asked in their forums, and the answers have been "we won't change that, you have to live with it" and "you can use the API for thst".
If I would be the one writing the blog entries, I would be fine with getting the API to work and using that. Sadly, the person who is writing the articles has not the slightest idea about what he is doing, so I definitely don't want to go that route.
Long story, one question: Is there a way to tweak serendipity, so that links to picasa.google.com open in target="_blank", while all other links stay untouched? I am a programmer, so I could modify code if necessary. But I am neither a php specialist nor do I have an idea how and where this could be achieved...