discuss.answer
Rather than answer you here, I just did a blog post on this:
http://bobsguides.com/blog.html/2013/08/19/create-an-rss-feed-for-your-articles-blog/.
Let me know if it works for you.
Ok, so i've followed the steps in your guide; 1) created the rss-feed image link on the blog page itself (easy enough), 2) Created a new document in the document tree where all my website pages reside (a 'resource') and placed in your example code (whilst filling in my own details such as page titles etc).
3) created a new chunk (The RSS Item Tpl). And now when i click the rss icon link on my blog page i'm brought to the correct page in order to subscribe, so it appears to work fine at this stage..
Just a few questions-
On step 2 in your guide- 'creating a new resource' it mentions that this is done using getResources. What is this? i didn't do anything involving getResources, i just created a new document and placed in your code and then took the id number of that resource and placed it inside my rss-icon image link, as advised.
On step 3, i notice Articles already provides a chunk called sample.ArticlesRssItem , and the code within it is very similar to the code in the chunk you provided which you name as rssItem in your guide. So what i did was duplicate the chunk provided by Articles called sample.ArticlesRssItem (renaming it to Own.ArticlesRssItem) and i was going to amend the various lines of code inside it to match your example rssItem, but didn't for the moment and the rss icon feed button link still appears to work. But i haven't referenced this chunk anywhere so is it actually being used?
And finally, the page that i'm brought to when clicking the subscribe button doesn't look too pretty, am i able to use a template for this page so that it's in keeping with the rest of the site? And is it possible for people to subscribe to the blog with their email address? updates from the blog being sent to subscribers' email adresses is my goal here.
Thanks for taking the time to create your guide, it's brought me closer to achieving the desired functionality of users being able to subscribe to the blog!
I'm having trouble understanding some of your questions.
The feed I describe in the blog article is meant to be displayed in an RSS feed client like FeedBurner. It sounds like you may be using it a different way.
With respect to getResources, there's a getResources tag in the content to be pasted into the resource you create. It creates the RSS feed XML.
I probably did copy the Articles RSS Tpl chunk when I originally created the feed, but if you're not naming that chunk in the &tpl property of the getResources tag, it's not using that chunk.
There's no "Subscribe" button created when you follow the blog article, so I'm not sure what "Subscribe" button you mean.
If you're using the Subscribe extra, there's a CSS file to style the subscribe form -- maybe it's missing or not being loaded for some reason. Do a "View Source" on the page and click on the CSS file link to see if it's live. If it is live, you can copy and modify the CSS file to style the page the way you want it, though if you do that, you should specify your CSS file in the tag on the Subscribe form page so it won't get overwritten if you update Subscribe.
You're welcome.
The Feeds here on the MODX Forum may have confused you (and/or me). Usually, an RSS-feed icon is a link to a page that puts out XML to be displayed by something like FeedBurner. The user pastes that link in at FeedBurner (or some other feed delivery engine).
However, the link from the icon in the Forums (e.g., the one on this page), takes you to another page with multiple feeds to select from. The icons on *that* page are to be pasted in at FeedBurner.