Instead of dredging up the old thread, I'm starting a new one.
I'm still seeing HTML characters instead of single quotes for my RSS/XML feed. It also appears like this on the actual RSS page that WSN Links creates.
I've attached a screenshot giving an example of my feed showing just that (the highlighted entry in the picture).
Comments on RSS and quotes revisited
Forum Regular
Usergroup: Customer
Joined: Jun 02, 2004
Total Topics: 32
Total Comments: 142
Instead of dredging up the old thread, I'm starting a new one.
I'm still seeing HTML characters instead of single quotes for my RSS/XML feed. It also appears like this on the actual RSS page that WSN Links creates.
I've attached a screenshot giving an example of my feed showing just that (the highlighted entry in the picture).
Thanks,
Adam
Attached Files:
Forum Regular
Usergroup: Customer
Joined: Jun 02, 2004
Total Topics: 32
Total Comments: 142
Is this fixed in 3.20?
-Adam
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
I don't know, I haven't yet made a ' in a title since and of my sites ever get them naturally. Later today hopefully.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
In either version, replace
function removespecial($str) {
with
function removespecial($str) {
$str = str_replace('&', '&', $str); // prevent &str&str;
Forum Regular
Usergroup: Customer
Joined: Jun 02, 2004
Total Topics: 32
Total Comments: 142
Tried that change, but I'm still not getting single quotes displayed properly.
-Adam
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
http://links.webmastersite.net/rssfeed.php
Forum Regular
Usergroup: Customer
Joined: Jun 02, 2004
Total Topics: 32
Total Comments: 142
I wonder what's different. Here's mine:
http://www.gamelinks.com/rss/new-games.xml
I've got single quotes not translating in both description and title.
This is copied straight out of my rssfeed.php file:
function removespecial($str) {
$str = str_replace('&', '&', $str); // prevent &str&str;
$str = str_replace('"', '"', $str); // make clean
$str = str_replace(''', "'", $str);
$str = str_replace('"', '"', $str);
$str = str_replace('Ä', 'A', $str);
$str = str_replace('ä', 'a', $str);
$str = str_replace('Ã…', 'A', $str);
$str = str_replace('Ã¥', 'a', $str);
$str = str_replace('Ö', 'O', $str);
$str = str_replace('ö', 'o', $str);
$str = str_replace('Ü', 'U', $str);
$str = str_replace('ü', 'u', $str);
$str = str_replace('ß', 'ss', $str);
$str = str_replace('ô', 'o', $str);
$str = str_replace('&', '&', $str); // prevent &str&str;
$str = str_replace('&', '&', $str);
return $str;
}
Is there some other place I should be changing this too?
-Adam