|
Page 1 of 1
|
Danielc 
Joined: August 2006
Posts: 248
Location:
|
 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.
|
#1 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.
|
|
Mighty Gorgon 
Luca Libralato
Joined: August 2006
Posts: 7192
Location:  Borgo San Michele
|
 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.
____________ Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
|
#2 Sun 24 Jan, 2010 13:11 |
|
spydie 
Joined: December 2008
Posts: 1796
Location:  In the Boxes
|
 Re: Errors In News_rss.php, And A Question (Rss Links).
It´s probably this ISO utf8 issue we discussed time ago
____________ Out of Order
|
#3 Sun 24 Jan, 2010 13:36 |
|
Danielc 
Joined: August 2006
Posts: 248
Location:
|
 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!
|
#4 Sun 24 Jan, 2010 18:09 |
|
Mighty Gorgon 
Luca Libralato
Joined: August 2006
Posts: 7192
Location:  Borgo San Michele
|
 Re: Errors In News_rss.php, And A Question (Rss Links).
Now I got your point, I will have a look.
____________ Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
|
#5 Mon 25 Jan, 2010 14:35 |
|
Danielc 
Joined: August 2006
Posts: 248
Location:
|
 Re: Errors In News_rss.php, And A Question (Rss Links).
Thanks, i will wait..
|
#6 Mon 25 Jan, 2010 18:19 |
|
Danielc 
Joined: August 2006
Posts: 248
Location:
|
 Re: Errors In News_rss.php, And A Question (Rss Links).
Any help??
|
#7 Wed 03 Feb, 2010 23:51 |
|
Mighty Gorgon 
Luca Libralato
Joined: August 2006
Posts: 7192
Location:  Borgo San Michele
|
 Re: Errors In News_rss.php, And A Question (Rss Links).
Still no time to look at this.
Be patient.
____________ Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
|
#8 Thu 04 Feb, 2010 00:53 |
|
Danielc 
Joined: August 2006
Posts: 248
Location:
|
 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???
|
#9 Fri 05 Feb, 2010 00:12 |
|
Mighty Gorgon 
Luca Libralato
Joined: August 2006
Posts: 7192
Location:  Borgo San Michele
|
 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')))
)
);
____________ Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
|
#10 Fri 05 Feb, 2010 12:17 |
|
Danielc 
Joined: August 2006
Posts: 248
Location:
|
 Re: Errors In News_rss.php, And A Question (Rss Links).
I will check it... Thanks!!!
|
#11 Fri 05 Feb, 2010 23:45 |
|
|
Page 1 of 1
|
Was this topic useful?
Was this topic useful?
Link this topic |
URL |
|
BBCode |
|
HTML |
|
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
|
|
|
|