1
ozp11
xoopsheadlines bug?
  • 2004/3/3 15:40

  • ozp11

  • Just popping in

  • Posts: 74

  • Since: 2003/6/2 1


Some RSS does not display when I add them. They appear as blank.

These ones could not be viewed:

http://www.prweb.com/xml/medmentalhealth.xml
http://www.telegraph.co.uk/newsfeed/rss/health.xml
http://z.about.com/6/g/mentalhealth/b/index.xml ( I could add another about.com RSS but not this one)

2
jclemens
Re: xoopsheadlines bug?
  • 2004/3/9 21:08

  • jclemens

  • Just popping in

  • Posts: 2

  • Since: 2004/2/26


I have the same prob.

BBC News dosen't work.
It was working before. Now it is just blank page.
I deleted and created it again. Here is the url

http://news.bbc.co.uk/rss/newsonline_world_edition/front_page/rss091.xml

3
Stewdio
Re: xoopsheadlines bug?
  • 2004/3/9 21:16

  • Stewdio

  • Community Support Member

  • Posts: 1560

  • Since: 2003/5/7 1


For BBC headlines to work, I set the cache time to one hour and the encoding to ISO-8859-1.

When I first added the headline it took a day to appear. I have found this to be the case for certain feeds. Once they are running they are generaly stable and I have never had another problem with them.

You can see all working headlines on my site.

*edit*

BBC headline feeds are down for me as well. There must be a problem with their feed.

Sorry about the confusion

4
ajaxbr
Re: xoopsheadlines bug?
  • 2004/3/10 0:14

  • ajaxbr

  • Quite a regular

  • Posts: 276

  • Since: 2003/10/25


Same here, but the feed is there, it just won't appear inside XOOPS.
I can see the raw RSS but Headlines module wont render it in
http://news.bbc.co.uk/rss/newsonline_world_edition/science/nature/rss091.xml and
http://bnhm.berkeley.museum/rss/BNHM.xml

BTW, I've just made the RSS url field larger and if anyone have to do this, here's the trick:
First thing to do is change the field type in MySQL: it's set as VARCHAR(255) (255 characters) and you should set it to TEXT, which allows 65535 chars (unfortunatelly, there's no intermediate value).

Then you have to change two module's files:
Open /modules/xoopsheadline/admin/index.php and find and replace
Quote:
$form->addElement(new XoopsFormText(_AM_URLEDFXML, 'headline_rssurl', 50, 255, 'http://'), true);
(which appears, and has to be replaced, twice) with
Quote:
$form->addElement(new XoopsFormText(_AM_URLEDFXML, 'headline_rssurl', 50, XYZ, 'http://'), true);
, XYZ being the new size in bytes for your RSS url field.
In /modules/xoopsheadline/class/headline.php, find
Quote:
$this->initVar('headline_rssurl', XOBJ_DTYPE_TXTBOX, null, true, 255);
and replace "255" with the same value used before. This might be handy if you want to display customized Amazon RSS feeds

5
jclemens
Re: xoopsheadlines bug?
  • 2004/3/10 14:26

  • jclemens

  • Just popping in

  • Posts: 2

  • Since: 2004/2/26


Thanks it works now....

6
Stewdio
Re: xoopsheadlines bug?
  • 2004/3/11 14:23

  • Stewdio

  • Community Support Member

  • Posts: 1560

  • Since: 2003/5/7 1


The feed is back for me and I didn't make any edits.

7
ozp11
Re: xoopsheadlines bug?
  • 2004/3/11 15:02

  • ozp11

  • Just popping in

  • Posts: 74

  • Since: 2003/6/2 1


Well, we have no post yet saying if there is a bug or not in this module

what we know is that not all RSS can be viewed by the module

but we can view the RSS code with the browser