Page 1 of 1

GeoURL plugin and apostrophe/single quote in site name

Posted: Fri May 27, 2005 4:37 am
by Emmental
I've just discovered that site names containing apostrophes (such as mine) chop off all text from the apostrophe onwards when displaying on the GeoURL lists.

This can be easily fixed by swapping the quotation styles for one of the lines in the plugin's .php file. Open plugins/serendipity_event_geourl/serendipity_event_geourl.php and change...

Code: Select all

print "    <meta name='DC.title' content='".$serendipity['blogTitle']."'><!-- generated by geourl plugin -->\n";
...to...

Code: Select all

print '    <meta name="DC.title" content="'.$serendipity['blogTitle'].'"><!-- generated by geourl plugin -->';
This may not be the perfect solution but worked for me. If your site name has double quotation marks in the title then you should probably leave it as it is.

Re: GeoURL plugin and apostrophe/single quote in site name

Posted: Fri May 27, 2005 12:57 pm
by garvinhicking
Thanks for notifying me about this. I've just patched the plugin!

Regards,
Garvin