Hello guys,
I've a problem with RSS feed that appears to be empty, no title, no posts, nothing.
This is the web:
www.vancanza-praga.com
This is the xml 2.0:
http://www.vacanza-praga.com/feeds/index.rss2
Any ideas?
Thank's a lot in advance.
RSS feed empty
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: RSS feed empty
This is an error that can happen, if your server says it supports iconv/recode, but it executing it not right. Some PHP versions were broken in this regard, so you may need to ask your sysadmin to upgrade to a recent s9y version.
A workaround is to edit your include/functions.inc.php file and replace this:
with this:
Best regards,
Garvin
A workaround is to edit your include/functions.inc.php file and replace this:
Code: Select all
function serendipity_utf8_encode($string) {
if (strtolower(LANG_CHARSET) != 'utf-8') {
if (function_exists('iconv')) {
return iconv(LANG_CHARSET, 'UTF-8', $string);
} else if (function_exists('mb_convert_encoding')) {
return mb_convert_encoding($string, 'UTF-8', LANG_CHARSET);
} else {
return utf8_encode($string);
}
} else {
return $string;
}
}
Code: Select all
function serendipity_utf8_encode($string) {
if (strtolower(LANG_CHARSET) != 'utf-8') {
return utf8_encode($string);
} else {
return $string;
}
}
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
Griffin
Thanksnow works!! But...
Ok now Feeds works.
But there still a small trouble.
My feed shows only the first part of the post and then the link "to continue reading click here". But this second part doesn't work.
Actually that link "here" link to: mywebsite/id.html#extended
But my posts are at: mywebsite/post_title.html
So now is impossible to continue reading the posts, because the page id.html does not exist.
Any ideas?
Thank you again for quick help on my previous problem!!
But there still a small trouble.
My feed shows only the first part of the post and then the link "to continue reading click here". But this second part doesn't work.
Actually that link "here" link to: mywebsite/id.html#extended
But my posts are at: mywebsite/post_title.html
So now is impossible to continue reading the posts, because the page id.html does not exist.
Any ideas?
Thank you again for quick help on my previous problem!!
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Thanksnow works!! But...
Could you give me the URL to your site, so I could see it with real URLs?
I might also need the settings you made for your s9y paths and permalinks in the configuration.
Regards,
Garvin
I might also need the settings you made for your s9y paths and permalinks in the configuration.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
Guest
Re: Thanksnow works!! But...
Thanks Garvin.garvinhicking wrote:Could you give me the URL to your site, so I could see it with real URLs?
I might also need the settings you made for your s9y paths and permalinks in the configuration.
Regards,
Garvin
All the information:
This is the web:
www.vancanza-praga.com
This is the xml 2.0:
http://www.vacanza-praga.com/feeds/index.rss2
Permalinks:
Permalink Entry URL structure praga/%title%.html
Permalink Author URL structure authors/%realname%
Permalink Category URL structure vacanze/%name%
Permalink RSS-Feed Category URL structure feeds/vacanze/%name%.rss
Permalink RSS-Feed Author URL structure eeds/authors/%realname%.rss
Path to archives: praga
Path to archive: archive
Path to categories: vacanze
Path to authors: authors
Path to unsubscribe comments: unsubscribe
Path to delete comments: delete
Path to approve comments: approve
Path to RSS Feeds: Feeds
Path to single plugin: plugin
Path to admin: admin
Path to search: search
Full Path: /home/mhd/www.vacanza-praga.com/htdocs//
Hope is everything.
Thanks again
-
Guest
Errata (mistake)
Anonymous wrote:Thanks Garvin.garvinhicking wrote:Could you give me the URL to your site, so I could see it with real URLs?
I might also need the settings you made for your s9y paths and permalinks in the configuration.
Regards,
Garvin
All the information:
This is the web:
www.vancanza-praga.com
This is the xml 2.0:
http://www.vacanza-praga.com/feeds/index.rss2
Permalinks:
Permalink Entry URL structure praga/%title%.html
Permalink Author URL structure authors/%realname%
Permalink Category URL structure vacanze/%name%
Permalink RSS-Feed Category URL structure feeds/vacanze/%name%.rss
Permalink RSS-Feed Author URL structure eeds/authors/%realname%.rss
Path to archives: praga
Path to archive: archive
Path to categories: vacanze
Path to authors: authors
Path to unsubscribe comments: unsubscribe
Path to delete comments: delete
Path to approve comments: approve
Path to RSS Feeds: Feeds
Path to single plugin: plugin
Path to admin: admin
Path to search: search
Full Path: /home/mhd/www.vacanza-praga.com/htdocs//
Hope is everything.
Thanks again
The web is:
http://www.vacanza-praga.com
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Errata (mistake)
Okay, please edit your include/functions_rss.inc.php file.
There you must replace this:
with this:
This fix has also been committed to SVN for the upcoming 1.0 version.
Thanks a lot,
Garvin
There you must replace this:
Code: Select all
} elseif ($entry['exflag']) {
$ext = '<br /><a href="' . $guid . '#extended">' . sprintf(VIEW_EXTENDED_ENTRY, htmlspecialchars($entry['title'])) . '</a>';
} else {
Code: Select all
} elseif ($entry['exflag']) {
$ext = '<br /><a href="' . $entryLink . '#extended">' . sprintf(VIEW_EXTENDED_ENTRY, htmlspecialchars($entry['title'])) . '</a>';
} else {
Thanks a lot,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: YES! Now works
Great! Glad to hear that...spread the word! 
Best regards,
Garvin
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/