Errors In News_rss.php, And A Question (Rss Links).


Subject: 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.

Subject: 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. :(

Subject: Re: Errors In News_rss.php, And A Question (Rss Links).
It´s probably this ISO utf8 issue we discussed time ago

Subject: Re: Errors In News_rss.php, And A Question (Rss Links).
captura


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!

Subject: Re: Errors In News_rss.php, And A Question (Rss Links).
Now I got your point, I will have a look.

Subject: Re: Errors In News_rss.php, And A Question (Rss Links).
Thanks, i will wait..

Subject: Re: Errors In News_rss.php, And A Question (Rss Links).
Any help??

Subject: Re: Errors In News_rss.php, And A Question (Rss Links).
Still no time to look at this.

Be patient.

Subject: 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???

Subject: 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.

Code: [Download] [Hide] [Select]
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')))
)
);

Subject: Re: Errors In News_rss.php, And A Question (Rss Links).
I will check it... Thanks!!!


Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.2184s (PHP: 10% SQL: 90%)
SQL queries: 15 - Debug Off - GZIP Enabled