[Solved] Anxious to Pay you! Formatted RSS feed from News Module

A place to make for-pay "CMS made simple" job offerings
Post Reply
casidougal
Forum Members
Forum Members
Posts: 98
Joined: Tue Jun 06, 2006 10:08 pm

[Solved] Anxious to Pay you! Formatted RSS feed from News Module

Post by casidougal »

I'm looking for a developer who can provide a solution to having the News Module create RSS feeds that are formatted/styled. Currently the RSS feeds from my CMSMS installs v1.0.8 have all text run together with no breaks and do not include photos, links, etc. A more complete description of the issue and desired solution can be found on this post:

http://forum.cmsmadesimple.org/index.ph ... 340.0.html

I would be looking for a solution that includes general guidelines so the solution can be applied to existing CMSMS sites and new ones as we launch them.

You can contact me by clicking the mail icon to the left of this post or call me directly at 208.475.3192

Thanks,

Doug
Last edited by casidougal on Sat Feb 09, 2008 5:57 pm, edited 1 time in total.
casidougal
Forum Members
Forum Members
Posts: 98
Joined: Tue Jun 06, 2006 10:08 pm

Re: Create a formatted RSS feed from News Module

Post by casidougal »

mark wrote: When I look at it in Sage, Firefox RSS reader extension, it looks just like all the other ones I have...
Thanks for the reply, Mark... how do all the feeds look to you?  Formatted or with the text all run together with no breaks?

Myself and other users are observing a significant difference in the RSS feeds produced by the News Module (on multiple CMSMS 1.0.8 installs)  as compared feeds from other sources.

For example if you go to Blogger's main feed and open the feed in Firefox you'll notice that the feed (specifically the content of each article) is formatted (line breaks, hyperlinks, photos, etc.)

http://feeds.feedburner.com/BloggerBuzz

or as seen in this random blogger feed I just found:

http://krhunt.blogspot.com/feeds/posts/default?alt=rss

It's the content of each article that I'm looking at . . . with other RSS feeds like blogger the styling, formatting, photos & such are included in the feed.

Here's a another CMSMS feed, notice that the content of each article are just run together in one big string of text with no formatting.

And another example I just set up. Notice on the"News Module Installed" post I added paragraph breaks, formatting, a hyperlink and a photo. http://calvaryromania.org/cluj/index.php?page=blog

But if you look at the feed  none of that is represented.

From what I can see this RSS feed behavior is the same across all versions of CMSMS.
Last edited by casidougal on Thu Jan 17, 2008 9:17 pm, edited 1 time in total.
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Anxious to Pay you! Formatted RSS feed from News Module

Post by Nullig »

Don't know if this would work, or not, but you could try editing the action.rss.php file and change the following lines:

Code: Select all

			$onerow->strippedcontent = strip_tags($onerow->content);
			$onerow->strippedsummary = strip_tags($onerow->summary);
to:

Code: Select all

			$onerow->strippedcontent = $row['content'];
			$onerow->strippedsummary = $row['summary'];
Nullig
casidougal
Forum Members
Forum Members
Posts: 98
Joined: Tue Jun 06, 2006 10:08 pm

Re: Anxious to Pay you! Formatted RSS feed from News Module

Post by casidougal »

Thank you for the reply.  I tried your suggestion but the RSS feed shows the following in the content area under each article post.

Code: Select all

string(43) "Smarty error: eval: missing 'var' parameter"
The news page is here  if you would like to take a look.

If you think this is something you might be able solve I am ready to pay you for your time  :)  Please contact me if you're interested.
Last edited by casidougal on Thu Jan 17, 2008 9:09 pm, edited 1 time in total.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Anxious to Pay you! Formatted RSS feed from News Module

Post by calguy1000 »

I'd take you up on this stuff, but honestly, I'm swamped :)
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
casidougal
Forum Members
Forum Members
Posts: 98
Joined: Tue Jun 06, 2006 10:08 pm

Re: Anxious to Pay you! Formatted RSS feed from News Module

Post by casidougal »

The second option you posted seems to do the trick:

Code: Select all

$onerow->strippedcontent = $row['news_data'];
$onerow->strippedsummary = $row['summary'];
THANK YOU!!
Post Reply

Return to “Help Wanted (commercial)”