• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 11 posts ] 
Author Message
 Post subject: [SOLVED] Adding RSS Feed to themes.cmsmadesimple.org/
PostPosted: Thu Dec 30, 2010 4:17 pm 
Offline
Power Poster
Power Poster
User avatar

Joined: Fri May 25, 2007 10:57 am
Posts: 1129
Location: Germany
I would appreciate if it there were a kind of notification about new themes added to http://themes.cmsmadesimple.org/. RSS Feed would be the simplest solution.

_________________
CMS Made Simple 1.6: Beginner's Guide
Overview of modules, themes, tutorials and websites made with CMS Made Simple
Webseiten mit CMS erstellen


Last edited by Sonya on Sat Jan 01, 2011 12:01 pm, edited 1 time in total.

Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Adding RSS Feed to themes.cmsmadesimple.org/
PostPosted: Thu Dec 30, 2010 4:48 pm 
Offline
Dev Team Member
Dev Team Member

Joined: Sat Jan 09, 2010 4:38 pm
Posts: 24
Sonya,

The theme site uses the upload module. If you create a RSS feed template in CGFeedMaker for the Uploads module, we will add it on the site.

Ajprog


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Adding RSS Feed to themes.cmsmadesimple.org/
PostPosted: Thu Dec 30, 2010 5:10 pm 
Offline
Power Poster
Power Poster
User avatar

Joined: Tue Aug 12, 2008 9:30 pm
Posts: 2071
Location: Feldkirchen in Kärnten, Austria
@ajprogramming

may i know what version of uploads module and cgfeedmaker is used?
Are there any categories used?
Any extra fields?
Should description, author and so on be included or is a title and date enough?

I am willing to do my homework if i may get the info  :)

_________________
CMSMS Blog - I do this!
Forge profile
Github profile
Twitter
=============================================
Support CMSMS


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Adding RSS Feed to themes.cmsmadesimple.org/
PostPosted: Thu Dec 30, 2010 6:55 pm 
Offline
Power Poster
Power Poster
User avatar

Joined: Fri May 25, 2007 10:57 am
Posts: 1129
Location: Germany
uniqu3 \uniqu3:
Should description, author and so on be included or is a title and date enough?

I would like to have author and description as well :)

PS: If I see that you have released a template than I know that I have something new, that I can feature on my CMSMS resources. Your templates are awesome and professional and a guarantee for quality :)

_________________
CMS Made Simple 1.6: Beginner's Guide
Overview of modules, themes, tutorials and websites made with CMS Made Simple
Webseiten mit CMS erstellen


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Adding RSS Feed to themes.cmsmadesimple.org/
PostPosted: Thu Dec 30, 2010 7:55 pm 
Offline
Dev Team Member
Dev Team Member

Joined: Sat Jan 09, 2010 4:38 pm
Posts: 24
Use the last versions for each module, and don't worry about category and custom fields for now.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Adding RSS Feed to themes.cmsmadesimple.org/
PostPosted: Thu Dec 30, 2010 9:24 pm 
Offline
Power Poster
Power Poster
User avatar

Joined: Tue Aug 12, 2008 9:30 pm
Posts: 2071
Location: Feldkirchen in Kärnten, Austria
@Sonya
Thank you. I do have a bunch of ideas that i would like to creat, just cant this what to take first and cant find enough time to put the ideas together  :) and i hate starting to work on something and than leaving that work for weeks somewhere in corner because client work has to be done  :D

@ajprogramming
Here is quick template, basically there is all info needed like Author, Images, Date, Description and it vaildates in RSS validator except for the fact that should also contain email address.

\$1:
<?xml version="1.0"?>
<rss version="2.0"
  xmlns:content="http://purl.org/rss/1.0/modules/content/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:atom="http://www.w3.org/2005/Atom"
   xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
>
  <channel>
  <atom:link href="{$feed_url}" rel="self" type="application/rss+xml" />
    <title>{$feed.title}</title>
    {if isset($feed.link) && !empty($feed.link)}<link>{$feed.link}</link>{/if}
    {if isset($feed.description) && !empty($feed.description)}<description>{$feed.description}</description>{/if}
    {if isset($feed.copyright) && !empty($feed.copyright)}<copyright>{$feed.copyright}</copyright>{/if}
    {if isset($generator)}<generator>{$generator}</generator>{/if}
    {if isset($feed.managing_editor) && !empty($feed.managing_editor)}<managingEditor>{$feed.managing_editor}</managingEditor>{/if}
    {if isset($admin_email)}<webMaster>{$admin_email} ({$admin_user->firstname} {$admin_user->lastname})</webMaster>{/if}
    {if isset($feed.image) && !empty($feed.image)}
      <image>
   {if isset($feed.description) && !empty($feed.description)}<description>{$feed.description}</description>{/if}
        {if isset($feed.link) && !empty($feed.link)}<link>{$feed.link}</link>{/if}
        <title>{$feed.title}</title>
        <url>{$file_location}/{$feed.image}</url>
      </image>
    {/if}
    {cms_module module='Uploads' category="Full Themes" assign="junk"}
    {foreach from=$items item='entry'}
    <item>
      <title>{$entry->upload_name|cms_html_entity_decode}</title>
      <link>{$entry->detailurl|replace:"&cntnt01assign=junk":""}</link>
      <pubDate>{$entry->date|rfc_date}</pubDate>
      <author>{$entry->author}</author>
      <description><![CDATA[<strong>{$author}:</strong> {$entry->author}<br />
      <img src="{$entry->thumbnail_url}" alt=""><br /> {$entry->description|strip_tags|trim}]]></description>
      <guid>{$entry->detailurl}</guid>
    </item>
    {/foreach}
  </channel>
</rss>


Well anyway here is a link to a demo Feed http://uniqu3.dyndns-server.com/1.9.2/i ... eturnid=57

For some reason on my page rss link returnid is generated as 15 instead of 57, but thats another story as i didn't check if everything is setup as it should be.

_________________
CMSMS Blog - I do this!
Forge profile
Github profile
Twitter
=============================================
Support CMSMS


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Adding RSS Feed to themes.cmsmadesimple.org/
PostPosted: Fri Dec 31, 2010 11:34 am 
Offline
Power Poster
Power Poster
User avatar

Joined: Fri May 25, 2007 10:57 am
Posts: 1129
Location: Germany
Wow! It is already there http://themes.cmsmadesimple.org/feeds/Themes.rss :) Thank you, ajprogramming and uniqu3!! Happy New Year!

_________________
CMS Made Simple 1.6: Beginner's Guide
Overview of modules, themes, tutorials and websites made with CMS Made Simple
Webseiten mit CMS erstellen


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Adding RSS Feed to themes.cmsmadesimple.org/
PostPosted: Fri Dec 31, 2010 11:39 am 
Offline
Power Poster
Power Poster
User avatar

Joined: Tue Aug 12, 2008 9:30 pm
Posts: 2071
Location: Feldkirchen in Kärnten, Austria
Yes it's already there  :) thanks for good ideas and i subscribed  ;)
There is one minor thing, just the same as in my test install, if subscribing from summary page, returnid is 15 so links from Feed lead to blank page, if subscribed from a Template detail page links work fine.

_________________
CMSMS Blog - I do this!
Forge profile
Github profile
Twitter
=============================================
Support CMSMS


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Adding RSS Feed to themes.cmsmadesimple.org/
PostPosted: Fri Dec 31, 2010 2:06 pm 
Offline
Dev Team Member
Dev Team Member

Joined: Sat Jan 09, 2010 4:38 pm
Posts: 24
It works for me. What is the link you are subscribing to? What browser/reader are you using?


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Adding RSS Feed to themes.cmsmadesimple.org/
PostPosted: Fri Dec 31, 2010 2:19 pm 
Offline
Power Poster
Power Poster
User avatar

Joined: Tue Aug 12, 2008 9:30 pm
Posts: 2071
Location: Feldkirchen in Kärnten, Austria
It works for me to now, maybe i subscribed to early  ;)

_________________
CMSMS Blog - I do this!
Forge profile
Github profile
Twitter
=============================================
Support CMSMS


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Adding RSS Feed to themes.cmsmadesimple.org/
PostPosted: Fri Dec 31, 2010 3:23 pm 
Offline
Power Poster
Power Poster
User avatar

Joined: Fri May 25, 2007 10:57 am
Posts: 1129
Location: Germany
uniqu3 \uniqu3:
There is one minor thing, just the same as in my test install, if subscribing from summary page, returnid is 15 so links from Feed lead to blank page

Confirm, subscribing on the summary page leads to blank page. http://themes.cmsmadesimple.org/index.p ... eturnid=15

_________________
CMS Made Simple 1.6: Beginner's Guide
Overview of modules, themes, tutorials and websites made with CMS Made Simple
Webseiten mit CMS erstellen


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 11 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
A2 Hosting