vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   RSS Poster Problem (https://vborg.vbsupport.ru/showthread.php?t=174519)

Jim O 03-29-2008 05:18 PM

RSS Poster Problem
 
Hello,

I'm having problems with the RSS poster. I'm trying to add a feed to my site (http://news.search.yahoo.com/news/rs...F-8&fl=0&x=wrt). It displays correctly on Firefox 2, IE 7, and Safari 3.1 but using the preview function in the "add new rss feed" function in the vBulletin admincp I get the following error: "XML Error: Comment must not contain '--' (double-hyphen) at Line 10". Of course no posts are posted. A similar error occurs in other Yahoo feeds.

Anyone know of any way to correct this?

Jim O 04-04-2008 12:20 AM

Anyone?

Marco van Herwaarden 04-04-2008 07:09 AM

The feed does not seem to be valid according to the RSS standards.

If i run it now, i get:

XML Error: > required at Line 573

This should be resolved by the site providing the feed.

Jim O 04-04-2008 01:57 PM

Quote:

Originally Posted by Marco van Herwaarden (Post 1482606)
The feed does not seem to be valid according to the RSS standards.

If i run it now, i get:

XML Error: > required at Line 573

This should be resolved by the site providing the feed.

Marco,

When vBulletin parses the feed, the error that I get is still at line 10, and is the same error as before. My browsers still display the feed correctly.

I honestly don't thing Yahoo is going to "fix" the feed for li'l ol' me, though I did ask. That's why I came here looking for help.

Lynne 04-04-2008 02:01 PM

Try taking line 10 out of the external.php file. It's not needed - it's only the commented stuff for your vb license. See what happens then. (my line 10 has no double-hyphens, so I'm not sure what that error is talking about.)

Jim O 04-04-2008 02:45 PM

1 Attachment(s)
Lynne,

Line 10 in external.php is also just part of the vBulletin license and has no double-hypens.

I think the error is supposed to be in line 10 of the XML.

The code for the page is in an attachment. There does not appear to be even 100 lines so I'm really even more puzzled by the error that Marco received. :confused:

Marco van Herwaarden 04-05-2008 08:57 AM

1 Attachment(s)
If i go to that url and save the results, i get a file with more then 150 lines.

Edit: If you believe the feed is valid, then please post on vB.com where one of the developers can have a look what exactly is wrong with that feed.


All times are GMT. The time now is 07:11 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01055 seconds
  • Memory Usage 1,721KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete