Home | Products | Consulting | Forums | Support | Order | 1-800-752-0455
  Main
Index
Search
Posts
Who's
Online
Log
In

Home: Products: Article Manager 2:
Can image go with AM's RSS feed?

 

 


tford13
User

Feb 12, 2007, 6:59 AM

Post #1 of 10 (578 views)
Shortcut
Can image go with AM's RSS feed? Can't Post

Good morning,

Does AM have the ability to send a picture with it's RSS feed like http://rss.news.yahoo.com/rss/us ?

Thanks,

Tom


ross
Staff / Moderator


Feb 12, 2007, 5:51 PM

Post #2 of 10 (571 views)
Shortcut
Re: [tford13] Can image go with AM's RSS feed? [In reply to] Can't Post

Hi Tom

Thanks for posting!

You can definitely have images in your RSS feeds. The template needs a bit of modification but it isn't hard at all to get going.

Let me know what you think and I can go over the setup in more details Smile.
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Product Specialist
support@interactivetools.com


Hire me!
Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.




tford13
User

Feb 12, 2007, 7:19 PM

Post #3 of 10 (564 views)
Shortcut
Re: [ross] Can image go with AM's RSS feed? [In reply to] Can't Post

Great Ross. That's good news. Feel free to walk me through an example and I'll try to adapt it to our situation from there.

Thanks,

Tom


ross
Staff / Moderator


Feb 13, 2007, 4:38 PM

Post #4 of 10 (558 views)
Shortcut
Re: [tford13] Can image go with AM's RSS feed? [In reply to] Can't Post

Hi Tom

Thanks for getting back to me!

When you are working with images in Article Manager you are typically adding them into your summary or content fields with those image placeholders (***image1***). That means all you need to do is have either your content or summary field on the RSS template and you should be good to go. The most common one to use of course would be the summary field so that it doesn't end up being too long. To get this going, open up your /articleLists/globalRSS.xml template and add the following somewhere within the <link> section:

<description>$article.summary:htmlEncoded$</description>

That will get your summary field appearing in the feed and as a result, also the images.

Give this a shot and let me know how you make out. Remember to publish the RSS feed after making this change Smile.
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Product Specialist
support@interactivetools.com


Hire me!
Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.




SEScoops
User

Feb 13, 2007, 5:39 PM

Post #5 of 10 (554 views)
Shortcut
Re: [ross] Can image go with AM's RSS feed? [In reply to] Can't Post

I'm trying to do the same thing and saw no image after pasting that code into my <link> tabs.


tford13
User

Feb 14, 2007, 11:37 AM

Post #6 of 10 (548 views)
Shortcut
Re: [ross] Can image go with AM's RSS feed? [In reply to] Can't Post

Great -- thanks Ross. I'll give that a shot and let you know.

I'm also interested in allowing our readers to choose from a variety of RSS feeds -- possibly by category or combination of multiple category selections will be available once the latest beta is released.

Can you also explain how to accomplish this?

Thanks!

Tom


tford13
User

Feb 14, 2007, 3:51 PM

Post #7 of 10 (541 views)
Shortcut
Re: [SEScoops] Can image go with AM's RSS feed? [In reply to] Can't Post

SEScoops,

I'm using AM 2.10 Beta 2. I actually did not have to change the template. My template already had what Ross suggested as follows:

----------------------------------------------------

<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>$my.siteName:textOnly:htmlEncoded$</title>
<link>$settings.publish_url$</link>
<description>$my.siteDescription:textOnly:htmlEncoded$</description>
<pubDate>$_lastUpdated:format(www, dd MMM yyyy HH:mm:ss)$ PST</pubDate>
<language>en-us</language>
<!-- template insert : $articleList$ -->
<!-- templatecell : articleRow -->
<item>
<title>$article.title:textOnly:htmlEncoded$</title>
<link>$published.articlePage.url$</link>
<category>$category.name:textOnly:htmlEncoded$</category>
<description>$article.summary:htmlEncoded$</description>
<pubDate>$article.date:format(www, dd MMM yyyy HH:mm:ss)$ PST</pubDate>
<guid isPermaLink="true">$published.articlePage.url$</guid>
</item>

<!-- /templatecell : articleRow -->
</channel>
</rss>
----------------------------------------------

I then created an article with an image in the section. When I opened the AM RSS feed in IE7, the picture appeared properly.

Tom


ross
Staff / Moderator


Feb 14, 2007, 5:19 PM

Post #8 of 10 (538 views)
Shortcut
Re: [tford13] Can image go with AM's RSS feed? [In reply to] Can't Post

Hi Tom

Thanks for the updates!

To get an RSS feed going for each category, try this out:

1. Log into Article Manager and go to Admin -> Publishing.

2. Click modify for the Global RSS publishing rule.

3. Scroll to the bottom and find a drop down menu for Advanced Commands and select Copy Rule then hit go.

4. Change the Rule Name to: Category RSS Feeds.

5. Change Placeholder Set Name to: category's

6. Change Published Files to Multiple files and put in "<catFile>/rss" as filename then "xml" as the extension.

7. Save the rule and publish it

That will get an RSS feed publishing for each category and save it in the category folder. Give it a shot and let me know how you make out Smile.
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Product Specialist
support@interactivetools.com


Hire me!
Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.




tford13
User

Feb 14, 2007, 5:59 PM

Post #9 of 10 (536 views)
Shortcut
Re: [ross] Can image go with AM's RSS feed? [In reply to] Can't Post

Thanks Ross!

Step 5 (Change Placeholder Set Name to: category's ) would not let me incude the apostrophe so I made the Placeholder Set Name: category.

I really don't know whether it's working or not. I only see one RSS icon on the left side of my Home page. Do I need to do something else to have the additional levels appear?

Tom


Donna
Staff / Moderator


Feb 15, 2007, 8:38 AM

Post #10 of 10 (526 views)
Shortcut
Re: [tford13] Can image go with AM's RSS feed? [In reply to] Can't Post

Hi Tom!

That link is hardcoded in your template, so no extra ones will show up unless you add links to them as well. :)

To test if they're working, head to the file they've been published to. As per your publishrule, they'll be in the categorydirectory/rss.xml (replacing "categorydirectory" with the appropriate directories, of course.)

Take a look and see if they've shown up. :)

Donna


Hire me!
Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.

 
 
 


Search for (options)
Products
CMS Builder
Article Manager
Realty Manager
Listings Manager
Order Now
Services
Priority Consulting
Support
Online Documentation
Support Forums
Support Homepage
Company Info
12 reasons to choose us!
Meet the team
Monthly newsletter
Contact Us
Toll Free: 1-800-752-0455
Phone: (604) 689-3347
Sales | Support
Conditions of Use | Privacy Policy | Copyright © interactivetools.com 2008
#201 - 2730 Commercial Drive, Vancouver BC Canada V5N 5P4