Topic: Simple Mod: RSS Feed only on index.php

hi all.  i'm sure somebody has already done this, and probably better, but for amusement today i put together a very simple rss reader.  it displays the feed only on your front page of punbb and not on the other pages.  i just copied an idea mentioned in another forum and followed the instructions at http://simplepie.org/

it's not a module, just a modification.  if you want to play with it feel free.
PunRSS.

p.s.  -  PunBB is a great forum for a budding programmer to cut his teath on making mods.  thanks guys for a really cool discussion board.

Re: Simple Mod: RSS Feed only on index.php

That's cool. I'll try it. Thanks. big_smile

Copyright it's a  died culture. Be alive with the copyleft attitude

Re: Simple Mod: RSS Feed only on index.php

go look at http://bunpai.com
i have the link to the mod rss feed in full use in my frontpage and forum.

Q

My stuff or my style might sux, but atleast I'm willing to help when I can.
Don't be stupid and help ! We are the stupid one's !!!

4 (edited by eric235u 2007-04-25 21:38)

Re: Simple Mod: RSS Feed only on index.php

awesome.  i'm glad to contribute, even in this small way.

it looks a little different on your site.  i see you're using some other mods.  did you change the rss mod any?  please let us know if you did.  it looks good on your site!

Re: Simple Mod: RSS Feed only on index.php

http://www.punres.org/viewtopic.php?pid=15865#p15865
there the link and the info that i changed..
im not running that much mods..
just did a 3 column and portalnews.php.
about 4 mods that it.


Q

My stuff or my style might sux, but atleast I'm willing to help when I can.
Don't be stupid and help ! We are the stupid one's !!!

Re: Simple Mod: RSS Feed only on index.php

i just noticed two problems.
1.  my text editor chad the default encoding of utf-8.  so i went through the files and saved them as iso-8859-1.
2.  simplepie is putting out utf-8 (may be because of the rss feed i'm using, not sure).  so i'm getting errors at validator.w3.org like,

Character Encoding mismatch!
    The character encoding specified in the HTTP header (utf-8) is different from the value in the <meta> element (iso-8859-1). I will use the value from the HTTP header (utf-8) for this validation.

you may notice similar errors.  hopefully i will think of or somebody will suggest a way to fix this.

Re: Simple Mod: RSS Feed only on index.php

fixed.  i've updated the code.  i found the answer on their site.
http://simplepie.org/docs/reference/con … _encoding/
smile