1
ajaxbr
Making Headlines validate
  • 2004/4/12 21:25

  • ajaxbr

  • Quite a regular

  • Posts: 276

  • Since: 2003/10/25


Just a quick tip, in /xoopsheadline/templates/block/xoopsheadline_block_rss.html
change
<{foreach item=feed from=$block.feeds}>
<
p><{$feed}></p>
<{/foreach}>

to
<{foreach item=feed from=$block.feeds}>
<
br /><{$feed}><br />
<{/foreach}>

and you'll get a lot less XHTML errors in your main page.

The other source of Headlines related errors would be non-XHTML compliant tags embedded in RSS feeds, a tag sanitizer could solve this.

2
philroy
Re: Making Headlines validate
  • 2004/6/12 23:43

  • philroy

  • Friend of XOOPS

  • Posts: 107

  • Since: 2003/8/23


Quote:
The other source of Headlines related errors would be non-XHTML compliant tags embedded in RSS feeds, a tag sanitizer could solve this.

So how would you do this? Is there any easy way?

I'm in the process of building an XOOPS site that I want to be CSS and XHTML compliant. One of the feeds (from Apple Computer) has a news item at the moment that says...Quote:
HoopTV.net& # 146; s Got Game
(I've placed some gaps in there as the forum kept concerting the code to a ')....and I need some easy way to tidy things like that up on the fly.

Cheers,

Phil

3
philroy
Re: Making Headlines validate
  • 2004/6/15 23:44

  • philroy

  • Friend of XOOPS

  • Posts: 107

  • Since: 2003/8/23


Anyone?

Phil

Login

Who's Online

244 user(s) are online (156 user(s) are browsing Support Forums)


Members: 0


Guests: 244


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits