Sub Menu
Links Menu
Online Users

In total there are 318 users online :: 2 registered, 0 hidden and 316 guests

Most users ever online was 1091 on Wed Aug 16, 2023 5:27 pm

Registered users: Bing [Bot], Google [Bot] based on users active over the past 60 minutes

News RSS Mod?

This forum contains member submitted mods and hacks for IntegraMOD/IM Portal versions

*please read the "Read Me" post*

Moderator: Integra Moderator

News RSS Mod?

PostAuthor: tekguru » Wed Feb 14, 2007 10:00 am

Guys I've bene looking at the NEWS_RSS part of IM1.41 tryign to get it to format a little better.

So far I've got the code as:

Code: Select all
<xml><rss>    <channel>       <title>{TITLE} News Snippets</title>       <link>{BOARD_URL}</link>       <de>The UK site 4 Windows Mobile Devices</de>       <pubDate>{LAST_BUILD}</pubDate>       <lastBuildDate>{LAST_BUILD}</lastBuildDate>       <docs>http://blogs.law.harvard.edu/tech/rss</docs>       <generator>{PROGRAM}</generator>{LANGUAGE}       <category>{CATEGORY}</category>       <ttl>{TTL}</ttl>       <managingEditor>{BOARD_MANAGING_EDITOR}</managingEditor>       <webMaster>{WEBMASTER}</webMaster>       <image>     <url>{BOARD_URL}templates/subSilver/images/logo_phpBB_med.gif</url>     <title>{BOARD_TITLE}</title>     <link>{BOARD_URL}</link>     <width>122</width>     <height>56</height>       </image>   <BEGIN>   <item>     <title>{articles.L_TITLE}</title>     <link>{INDEX_FILE}?topic_id={articles.ID}</link>     <pubDate>{articles.RFC_POST_DATE}</pubDate>     <category>{INDEX_FILE}?cat_id={articles.CAT_ID}</category>     <de>     <CDATA>     </de>     <comments>{articles.U_COMMENTS}</comments>   </item>   <END>   </channel></rss>


The problem is I want to get the link to go straight to the topic view instead of viewing the article of the portal.

Any ideas how one achieves this?
Last edited by tekguru on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
[size=99px]http][/size]
[url=http][img=left]http://www.4winmobile.com/news/MVP_Horizontal_FullColor.png[/img][/url]
User avatar
tekguru
Sr Integra Member
Sr Integra Member
 
Posts: 329
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 28, 2006 10:29 pm
Cash on hand: 0.00

Re: News RSS Mod?

PostAuthor: Teelk » Wed Feb 14, 2007 4:12 pm

I'm going to do a little overhaul on the news system, since the RSS feed doesn't validate 100% no matter what you do. The problem is that the standards have changed since the MOD was written. Having the link go directly to the topic in question, and not displaying it on the portal is one of the goals as well. I had done it long ago on my site, before I was part of the staff here, so it's doable. It'll be available in the next version of IM, which should be relatively soon.
Last edited by Teelk on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
Teelk
Dev Team
Dev Team
 
Posts: 1309
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 14, 2006 5:25 pm
Cash on hand: 0.00
Location: Canada

PostAuthor: tekguru » Wed Feb 14, 2007 11:23 pm

Very good idea Teelk, I've now got to the stage where it links to the topic in question, and the option of not displaying on the portal would be cool.

Validation is inded an issue, I was thinking of using the feedcreator libraries to take a look at it myself as that is what the Smartfeed Moid uses and it works very well indeed.

Do you think itis worth me looking at that path in parallel? Bearing in minds I'm no PHP coder <img>
Last edited by tekguru on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
[size=99px]http][/size]
[url=http][img=left]http://www.4winmobile.com/news/MVP_Horizontal_FullColor.png[/img][/url]
User avatar
tekguru
Sr Integra Member
Sr Integra Member
 
Posts: 329
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 28, 2006 10:29 pm
Cash on hand: 0.00

Re: News RSS Mod?

PostAuthor: Teelk » Thu Feb 15, 2007 1:06 pm

Smartfeed seems to be the best parser around. It even, apparently, parses curly quotes which is the number one reason why most feeds won't validate. Curly quotes being used in MS Word etc., so people copy and paste from there into a post and it breaks the feed.

I'll be looking at how smartfeed works and hopefully can apply some of the ideas into the news feed.
Last edited by Teelk on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
Teelk
Dev Team
Dev Team
 
Posts: 1309
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 14, 2006 5:25 pm
Cash on hand: 0.00
Location: Canada

PostAuthor: tekguru » Thu Feb 15, 2007 3:22 pm

That will be superb! I looked at it all for about an hour tonight - just long enough to work out it was way about my head <img>

There are just too many codes that need to be escaped for a feed to be properly validated and unfortunately my PHP coding is just nowhere near the quality needed to even plan what changes would be needed ;(
Last edited by tekguru on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
[size=99px]http][/size]
[url=http][img=left]http://www.4winmobile.com/news/MVP_Horizontal_FullColor.png[/img][/url]
User avatar
tekguru
Sr Integra Member
Sr Integra Member
 
Posts: 329
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 28, 2006 10:29 pm
Cash on hand: 0.00

PostAuthor: tekguru » Sun Mar 04, 2007 3:37 pm

Any joy Teelk?
Last edited by tekguru on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
[size=99px]http][/size]
[url=http][img=left]http://www.4winmobile.com/news/MVP_Horizontal_FullColor.png[/img][/url]
User avatar
tekguru
Sr Integra Member
Sr Integra Member
 
Posts: 329
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 28, 2006 10:29 pm
Cash on hand: 0.00

PostAuthor: Master Dwarf » Tue Jan 01, 2008 10:34 am

I was just looking into adding a podcast to the site. It would be easy to implement into a news category, but then I noticed the feed does not validate. I tried looking at some of the code, especially the carry over for 'category' since that's one that is not working via the produced xml doc, but have had no luck.

Just wondering if anyone else had any luck or atlernative to creating a valid rss feed using the Integramod forums.
Last edited by Master Dwarf on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
Sean Kelley
http://www.GrumblingDwarf.com
Wisconsin Region Game Site
User avatar
Master Dwarf
Integra Supporter
Integra Supporter
 
Posts: 102
Likes: 0 post
Liked in: 0 post
Joined: Sun Apr 09, 2006 8:26 am
Cash on hand: 0.00
Location: Madison, WI

PostAuthor: richiebgood » Wed Jan 02, 2008 7:08 am

I have a topic rss feed, not just for news but for all topics. It works pretty well.

http://www.paintballer.ie/rss.php

Also, is you look in my footer you will see links to my sitemaps.
Attachments
gym_sitemapsV1-2-0RC4.zip
rss tool
(791.26 KiB) Downloaded 422 times
Last edited by richiebgood on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

richiebgood
Sr Integra Member
Sr Integra Member
 
Posts: 329
Likes: 0 post
Liked in: 0 post
Joined: Tue Aug 08, 2006 12:01 am
Cash on hand: 0.00
Location: Ireland

PostAuthor: Master Dwarf » Thu Jan 03, 2008 7:09 pm

"richiebgood";p="30003" wrote:I have a topic rss feed, not just for news but for all topics. It works pretty well.

http://www.paintballer.ie/rss.php

Also, is you look in my footer you will see links to my sitemaps.
Thanks, I may have to give it a go.
Last edited by Master Dwarf on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
Sean Kelley
http://www.GrumblingDwarf.com
Wisconsin Region Game Site
User avatar
Master Dwarf
Integra Supporter
Integra Supporter
 
Posts: 102
Likes: 0 post
Liked in: 0 post
Joined: Sun Apr 09, 2006 8:26 am
Cash on hand: 0.00
Location: Madison, WI


Return to Mods/Hacks

Who is online

Registered users: Bing [Bot], Google [Bot]

cron