Ajax Talk - Asynchronous javascript and xml discussion board
 FAQ   Search    Usergroups      Register   Profile   Check your messages   Log in 
Signup now to enjoy a range of free membership advantages !!
Ajax Talk - Moderators Wanted
need help

 
Post new topic   Reply to topic    Ajaxtalk.com Forum Index -> PHP
View previous topic :: View next topic  
Author Message
xavi
New one
New one


Joined: 05 Jul 2006
Posts: 4

PostPosted: Wed Jul 05, 2006 12:22 am    Post subject: need help Reply with quote

Hi there:

Can you help me how can I put a small rss fead logo added in the line of each subforum? I have some problems with rss.php can you help me?
This is the problem when I use the http://www.feedvalidator.org:
Quote:

Sorry

This feed does not validate.

*

line 7, column 22: language must be an ISO-639 language code: portuguese [help]

<language>portuguese</language>
^

*

line 11, column 36: pubDate must be an RFC-822 date-time: Qua Jul 05, 2006 12:19 am [help]

<pubDate>Qua Jul 05, 2006 12:19 am</pubDate>
^

*

line 12, column 42: lastBuildDate must be an RFC-822 date-time: Qua Jul 05, 2006 12:19 am [help]

<lastBuildDate>Qua Jul 05, 2006 12:19 am</lastBuildDate>
^

*

line 42, column 53: author must include an email address: admin [help]

<author>admin</author>
^

*

line 43, column 73: pubDate must be an RFC-822 date-time: Sáb Jul 01, 2006 6:43 pm [help]

<pubDate>Sáb Jul 01, 2006 6:43 pm</p ...
^

In addition, this feed has issues that may cause problems for some users. We recommend fixing these issues.

*

Your feed appears to be encoded as "iso-8859-1", but your server is reporting "US-ASCII" [help]


*

line 20, column 35: Image link doesn't match channel link [help]

<link>http://www.xbox-isos.com/</link>


Thank for your help in advance
Best regards
Xavi
Back to top
View user's profile Send private message
deejay
Forum Assistant
Forum Assistant


Joined: 17 May 2006
Posts: 78
Location: Netherlands

PostPosted: Thu Jul 06, 2006 7:12 am    Post subject: hi Reply with quote

feedvalidator gives hints on how to fix your errors, read them & try to fix the errors listed.

If no succes post back.

On how to display rss icons on your subforums, i can help (if phpbb), which forum software do u use, and which mod for rss ? what is the url ? xbox-isos ?

Regards, DJ
_________________
please correct me if i am wrong
seo-expertglobalwarming
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
xavi
New one
New one


Joined: 05 Jul 2006
Posts: 4

PostPosted: Fri Jul 07, 2006 6:58 am    Post subject: Reply with quote

Thanks but I can not understand, if you can help, yes the forum is phpbb and the url is www.xbox-isos.com and the mod is this one :
MOD Name: RSS Syndication mod
Author: Lucky Luke
MOD Description: This mod adds a buch of RSS feeds for your forum. You can use the feeds in a RSS Reader.

http://www.phpbb.com/phpBB/viewtopic.php?t=349668&postdays=0&postorder=asc&start=0
thanks again, waiting for your news asap
best regardes
xavi
Back to top
View user's profile Send private message
deejay
Forum Assistant
Forum Assistant


Joined: 17 May 2006
Posts: 78
Location: Netherlands

PostPosted: Fri Jul 07, 2006 9:00 am    Post subject: xbox-isos Reply with quote

Hi,

in index.php

find:
'L_FORUM_FOLDER_ALT' => $folder_alt,

after add:
'U_FORUMID' => $forum_id,

in template/your_template_name/index_body.tpl

find:
<img src="{catrow.forumrow.FORUM_FOLDER_IMG}" width="46" height="25" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" />

before add (or replace with, first try before add):
<a href="rss.php?f={catrow.forumrow.U_FORUMID}">
<img src="../../images/feed-icon16x16.png" alt="Subscribe to {catrow.forumrow.FORUM_NAME} RSS 2.0 feed" width="15" height="15" border="0"/></a>

let me know if it worked Cool maybe you can link to us in return for this code,

using our click here for buttons ?
_________________
please correct me if i am wrong
seo-expertglobalwarming
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
xavi
New one
New one


Joined: 05 Jul 2006
Posts: 4

PostPosted: Fri Jul 07, 2006 10:22 am    Post subject: Reply with quote

Hi deejay:

Work, but tell me how can I don't want some of the foruns have the feed? How can I do that? And how to open in a diferent page in the browser?

About the first question I have some problems with rss.php can you help me?
This is the problem when I use the http://www.feedvalidator.org:
Quote:


Sorry

This feed does not validate.

*

line 7, column 22: language must be an ISO-639 language code: portuguese [help]

<language>portuguese</language>
^

*

line 11, column 36: pubDate must be an RFC-822 date-time: Qua Jul 05, 2006 12:19 am [help]

<pubDate>Qua Jul 05, 2006 12:19 am</pubDate>
^

*

line 12, column 42: lastBuildDate must be an RFC-822 date-time: Qua Jul 05, 2006 12:19 am [help]

<lastBuildDate>Qua Jul 05, 2006 12:19 am</lastBuildDate>
^

*

line 42, column 53: author must include an email address: admin [help]

<author>admin</author>
^

*

line 43, column 73: pubDate must be an RFC-822 date-time: Sáb Jul 01, 2006 6:43 pm [help]

<pubDate>Sáb Jul 01, 2006 6:43 pm</p ...
^

In addition, this feed has issues that may cause problems for some users. We recommend fixing these issues.

*

Your feed appears to be encoded as "iso-8859-1", but your server is reporting "US-ASCII" [help]


*

line 20, column 35: Image link doesn't match channel link [help]

<link>http://www.xbox-isos.com/</link>


thanks in advance for your help,
xavi
Back to top
View user's profile Send private message
deejay
Forum Assistant
Forum Assistant


Joined: 17 May 2006
Posts: 78
Location: Netherlands

PostPosted: Fri Jul 07, 2006 11:55 am    Post subject: Reply with quote

Hi,

use the help files from feedvalidator.

it actually says; Don't use the actual name of the language, like "English". Instead, use the 2- or 3-character language code, like "en" (ISO 639-1)

so
<language>portuguese</language>

becomes:
<language>po</language>

Change the date-time format to comply with RFC822. Here are examples of valid RFC822 date-times:

<pubDate>Wed, 02 Oct 2002 08:00:00 EST</pubDate>
<pubDate>Wed, 02 Oct 2002 13:00:00 GMT</pubDate>
<pubDate>Wed, 02 Oct 2002 15:00:00 +0200</pubDate>

line 42, column 53: author must include an email address: admin [help]

so:
<author>admin</author>

becomes:
<author>admin@xbox-isos.com</author>

i just literally quote from the help files, so i suggest you try to fix the rest yourself.
concerning the invalid dates; i am not sure how your dates can have the word
Code:
censure
in them but it's one of the reasons why its going wrong.

Quote:
Work, but tell me how can I don't want some of the foruns have the feed? How can I do that?
It has to be custom programmed. i can do it but i goes beyond the scope of my time available for open source projects.

And how to open in a different page in the browser?
in template/your_template_name/index_body.tpl

find:
<a href="rss.php?f={catrow.forumrow.U_FORUMID}">
<img src="../../images/feed-icon16x16.png" alt="Subscribe to {catrow.forumrow.FORUM_NAME} RSS 2.0 feed" width="15" height="15" border="0"/></a>

replace with
before add (or replace with, first try before add):
<a href="rss.php?f={catrow.forumrow.U_FORUMID}" target="_blank">
<img src="../../images/feed-icon16x16.png" alt="Subscribe to {catrow.forumrow.FORUM_NAME} RSS 2.0 feed" width="15" height="15" border="0"/></a>
_________________
please correct me if i am wrong
seo-expertglobalwarming


Last edited by deejay on Fri Jul 07, 2006 11:57 am; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
deejay
Forum Assistant
Forum Assistant


Joined: 17 May 2006
Posts: 78
Location: Netherlands

PostPosted: Fri Jul 07, 2006 11:56 am    Post subject: no sorry Reply with quote

no sorry portuguese becomes "pt"
_________________
please correct me if i am wrong
seo-expertglobalwarming
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
xavi
New one
New one


Joined: 05 Jul 2006
Posts: 4

PostPosted: Sat Jul 08, 2006 4:42 am    Post subject: Reply with quote

deejay wrote:
no sorry portuguese becomes "pt"


Yes I know that, but I still have a warning and don't know how to resolve that:
www.feedvalidator.org wrote:

Warning

This feed is valid, but may cause problems for some users. We recommend fixing these problems.

*

Your feed appears to be encoded as "iso-8859-1", but your server is reporting "US-ASCII" [help]"

Can you please help me because to have the PT I need the iso-8859-1 and the host server is in US.


Thanks in advance for your help,
Waiting your news asap
Best regards

Xavi

Ps: If you can help me, how to make some of the foruns have the feed, please give me a help.
Back to top
View user's profile Send private message
Snyke
Forum Assistant
Forum Assistant


Joined: 20 Jun 2006
Posts: 87
Location: Zurich

PostPosted: Sat Jul 08, 2006 1:43 pm    Post subject: Reply with quote

I suggest you take a look at the header-function in PHP and just add soemthing like:
Code:
header('Content-Type: text/xml; charset=iso-8859-1');

For more information see
http://ch2.php.net/header
_________________
[::[ Snyke.net ]::]
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Guest






PostPosted: Mon Jul 10, 2006 6:38 am    Post subject: Reply with quote

Hi there:

Thanks Snyke, for your help is resolve.
I have only one more question if you can help me, how to make some of the foruns have the feed and some no, please give me a help.
best regards
Vegetal Pt
Back to top
Sawadee
New one
New one


Joined: 04 Aug 2006
Posts: 2

PostPosted: Sat Aug 05, 2006 10:47 am    Post subject: Reply with quote

Anonymous wrote:
Thanks Snyke, for your help is resolve.

I have only one more question if you can help me, how to make some of the forums have the feed and some no, please give me a help.

No way to do that?

Thanks again Wink
Back to top
View user's profile Send private message
Snyke
Forum Assistant
Forum Assistant


Joined: 20 Jun 2006
Posts: 87
Location: Zurich

PostPosted: Sat Aug 05, 2006 1:29 pm    Post subject: Reply with quote

I don't think I understand the question. What forums are you taliing about and what kind of feeds?
_________________
[::[ Snyke.net ]::]
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Sawadee
New one
New one


Joined: 04 Aug 2006
Posts: 2

PostPosted: Sat Aug 05, 2006 10:42 pm    Post subject: Reply with quote

In my forum site i have lot of forum, i know if you are not abilitated to private forum, you cant see forums and rss, but i dont wont abilitated user can take feed from private forum, so i need rss.php can disabilited some forums.

Sorry for my bad english Embarassed

Best Regards
Back to top
View user's profile Send private message
Snyke
Forum Assistant
Forum Assistant


Joined: 20 Jun 2006
Posts: 87
Location: Zurich

PostPosted: Sun Aug 06, 2006 10:55 am    Post subject: Reply with quote

That certainly depends on the Forum software you are using, and sincerely I have no idea how to do that Wink
Anyway even if you are coding it yourself it won't be easy to authenticate the users upon feed fetch, an option would be to create RSS Feed URLs with incorporated authentication information Twisted Evil
_________________
[::[ Snyke.net ]::]
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Ajaxtalk.com Forum Index -> PHP All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
 Advertisements
 XML & Copyright Notice 
    


Powered by phpBB © 2001, 2005 phpBB Group

What is according to Wikipedia: Ajax Web2.0 XML E4X


Link to our site:

  


del.icio.us digg spurl wists simpy newsvine blinklist furl blogmarks yahoo! myweb smarking ma.gnolia segnalo reddit fark technorati cosmos


Normal Bookmark


Partner Button Links:
Codecrunch.com: Webmaster Tutorials    One Ajax


Partner Text Links:
quomon | web20log | ajaxmatters | tableless | 456bereastreet | music charts | gift ideas | competitions | free xbox 360 | link trade ?


Credits:
it consultancy & project management lead generation zoekmachine optimalisatie steal these buttons seo expert