Errors In News_rss.php, And A Question (Rss Links).
Article |
Errors In News_rss.php, And A Question (Rss Links).
|
Hello Everybody..
I have one problem (or two) and one question.
My problem is related to news_rss.php. I have the two files (news_rss.php and rss.php) submitted in my Google Account, to improve the search results of my page, but, Google tells me that the feed generated by news_rss.php has some problems (warnings). The warnings are related to the date tags (like lastBuildDate and pubDate), and also there is a warning in the language tag. It says me that they don't have valid values.
My other question (or problem), is also related to news_rss.php. My web page has a profile in twitter and in Facebook, so, i use twitterfeed service to publish all news in both social networks. This service generates short links (bit.ly), but these links point to an entry in news_rss.php that just shows html code (like this), and i want that these links point to the news topic in my forum.
Can you help me??
Sorry for my english.
|
Danielc [ Sun 24 Jan, 2010 02:01 ]
|
|
Sponsors
|
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.
|
|
Errors In News_rss.php, And A Question (Rss Links).
Comments |
Re: Errors In News_rss.php, And A Question (Rss Links).
|
Regarding the errors in Google, please post the error message entirely, so I can check.
Regarding the other issue, I didn't understand what you mean.
|
Mighty Gorgon [ Sun 24 Jan, 2010 13:11 ]
|
|
Re: Errors In News_rss.php, And A Question (Rss Links).
|
It´s probably this ISO utf8 issue we discussed time ago
|
spydie [ Sun 24 Jan, 2010 13:36 ]
|
|
Re: Errors In News_rss.php, And A Question (Rss Links).
|
The errors in Google are those... There are more below, but they are related to the same tag (pubDate).
Regarding to the other problem:
I want that the entries in the feed (news_rss.php) link to the topic in the forum (like this), instead they link to something like this.
Did i explain correctly?
Thanks!
|
Danielc [ Sun 24 Jan, 2010 18:09 ]
|
|
Re: Errors In News_rss.php, And A Question (Rss Links).
|
Now I got your point, I will have a look.
|
Mighty Gorgon [ Mon 25 Jan, 2010 14:35 ]
|
|
Re: Errors In News_rss.php, And A Question (Rss Links).
|
Thanks, i will wait..
|
Danielc [ Mon 25 Jan, 2010 18:19 ]
|
|
Re: Errors In News_rss.php, And A Question (Rss Links).
|
Any help??
|
Danielc [ Wed 03 Feb, 2010 23:51 ]
|
|
Re: Errors In News_rss.php, And A Question (Rss Links).
|
Still no time to look at this.
Be patient.
|
Mighty Gorgon [ Thu 04 Feb, 2010 00:53 ]
|
|
Re: Errors In News_rss.php, And A Question (Rss Links).
|
xD.. No problem.. I would like to help in order to resolve this problem.. I know php, but i don't know so much about rss..Is this related to the way that Icy Phoenix generates the dates???
|
Danielc [ Fri 05 Feb, 2010 00:12 ]
|
|
Re: Errors In News_rss.php, And A Question (Rss Links).
|
I really don't know... because I couldn't check the issue yet.
Error message seems to suggest that the error is related to date format. Try to change it...
Here is a part of includes/news.php which may help.
function renderSyndication($num_items = 0)
{
global $lang;
$encoding = $lang['ENCODING'];
$sitename = $this->config['sitename'] . ' :: RSS';
$copyright = $this->config['sitename'] . ' :: ' . gmdate('Y', time());
$server_url = create_server_url();
$this->setVariables(array(
'TITLE' => $this->config['sitename'],
'URL' => $server_url,
'FORUM_PATH' => $this->config['script_path'],
'DESC' => $this->config['news_rss_desc'],
'LANGUAGE' => $this->config['news_rss_language'],
'COPYRIGHT' => $copyright,
'EDITOR' => $this->config['board_email'],
'WEBMASTER' => $this->config['board_email'],
'TTL' => $this->config['news_rss_ttl'],
'CATEGORY' => $this->config['news_rss_cat'],
'GENERATOR' => $sitename,
'CONTENT_ENCODING' => $encoding,
'PUB_DATE' => date('r', gmmktime(0, 0, 0, date('m'), date('d'), date('y')))
)
);
|
Mighty Gorgon [ Fri 05 Feb, 2010 12:17 ]
|
|
Re: Errors In News_rss.php, And A Question (Rss Links).
|
I will check it... Thanks!!!
|
Danielc [ Fri 05 Feb, 2010 23:45 ]
|
|
|
Was this topic useful?
Was this topic useful?
|
Page 1 of 1
|
|
|