Adobe Flex Authors: Matthew Lobas, PR.com Newswire, Shelly Palmer, Kevin Benedict

Related Topics: Adobe Flex, Industrial IoT

Adobe Flex: Article

Creating RSS Feeds With Macromedia Dreamweaver Using SOA, XML and Web Services

Publishing content online is evolving with a new technology called RSS.

You may have noticed recently that lots of websites now contain little graphical buttons with the word XML on them. For example: or or . When you click on the button, all you see is a bunch of jumbled text and computer code [ed: unless you have a newer web browser or an aggregator]. What's this all about? It's an RSS feed, and they're changing the way people access the Internet.

RSS, or Really Simple Syndication, is a technical format that allows online publishers to share and distribute their content to other websites or individual Internet users. It's commonly used for distributing headlines on news websites. Bloggers use it to distribute summaries of their blog entries as well. RSS is written in the Internet coding language known as XML, which is why you see RSS buttons labeled that way.

If a website publishes an RSS page, commonly known as an RSS "feed," this feed will contain summaries of all the recent articles posted on that site. For example, Yahoo News publishes news related to world headlines, national news, sports, etc. These you can all read by going to the Yahoo website. But they also publish RSS feeds for each of these subjects. Each RSS feed contains a summary of the most recent news stories posted. Similarly, the Digital Divide Network publishes RSS feeds for our news headlines, events listings and other content on our website. I even have my own RSS feed for articles that I publish on my personal blog, Andy Carvin's Waste of Bandwidth.

So basically, as a consumer of content, RSS allows you to see updated content in news aggregators or web browsers (new ones have integrated this feature). It solves the what's new problem for websites by allowing content consumers to subscribe to content that they find relevant. That means its a great way to communicate with a market that has already defined itself as interested in your content by having taken the first step of subscribing to the feed. It also solves the SPAM problem, because your market has already agreed to be targeted. Its permission marketing done right, and with no SPAM filter headaches.

RSS also solves another problem by allowing content to be syndicated (or republished) on other websites. This is how tools like Yahoo or Google News work. They collect RSS feeds from across the internet and then publish the relevant ones on their site. Imagine the traffic you would generate by getting a story published on one of those news portals. This opens up an entire new way to drive traffic to your site.

RSS is probably the most powerful marketing tool emerging in internet publishing today.

Publishing RSS Feeds
There are several tools for publishing RSS feeds widely available on the internet, with a range of prices from free on up. The problem with most of the tools is that they require a good bit of work to get your content into the feed you are creating. With some, you have to copy and paste your content into their tool, which is simple for small amounts of content but not for larger websites. With other, you have to have PHP, ASP, or Perl on your webserver and use those tools to rework your content into a feed. In all cases, none of them are designed to integrate directly with the primary tool you use to create the content of your website - Dreamweaver.

The right solution would take advantage of the content you've already created and the way that you manage that content using Dreamweaver. It would give you a way to leverage what you know to accomplish the task of creating a feed, without having to learn new tags for RSS and without having to become a CGI expert to program PHP/ASP/Perl.

That's what RSS DreamFeeder does. RSS DreamFeeder allows you to specify elements of the content you're already creating for your website to be reformatted as an RSS feed. It integrates specialized search-engine technology into Dreamweaver with a simple floating panel where you can create, edit, and process your content into RSS feeds. DreamFeeder's panel lists new content that has been added to your site since the feed was last updated and will add that new content to your feeds when you tell it to. You don't have to edit every entry in the feed, all you do is tell it to do the job. And it only does it when you're ready and your new content is ready - avoiding problems with feeds pointing to articles still being created.

So Tell Me How!
OK. Let me tell you how. In this tutorial I'm going to outline two different styles of content, which broadly encompasses the two primary sets of web content that get converted to feeds - Single Pages and Directories. Single pages are single html files that contain multiple stories, each of which is treated as a unique entry to be linked to by the RSS feed. Directories contain multiple html files, each of which contains a single story and links to each must be entered in the RSS feed. RSS DreamFeeder, once configured, will do all of this automatically for you when you process the feed. You can define multiple feeds for your website and each feed can have its own configuration.

Download the Pieces
You will, of course, need a copy of RSS DreamFeeder, available from RNSoftware at www.rnsoft.com/products/rssdreamfeeder

You install RSS DreamFeeder using the Extension Manager application that came with your copy of Dreamweaver. All you should have to do is double-click the MXP file that you downloaded and Extension Manager should launch and ask you if its OK to install. You may need to restart Dreamweaver after installing the extension but you don't need to restart your computer.

To launch RSS DreamFeeder select RSS DreamFeeder from the Window menu in Dreamweaver. This will open the DreamFeeder panel and display a list of rss files within the current website - you shouldn't have anything in the list because you haven't created them yet. If you click on the RSS DreamFeeder button in the bottom left corner you should see this panel. Click the Done button to go back to your feeds list.

You'll probably want a news aggregator to test the feed with. You can use any one that you like, but here are a couple (the first ones that come up when I google "news aggregators download"):

  • Ampheta Desk
  • NetNewsWire
(more at http://blogs.law.harvard.edu/tech/directory/5/aggregators)

You might also try Firefox's active bookmarks or Safari's RSS reader.

I've also created a simple website with some basic content so you can see the process in action.You can download this demo site at www.rnsoft.com/products/rssdreamfeeder/content/tutorial/RDFDemoServer.zip

You will have to define this as a new website within Dreamweaver. I called the site RDFTutorial. You don't need a remote site defined, just a local one, because RSS DreamFeeder works right from your local files, and includes only the new files you create. When you're ready to publish the feed you create on your website you simply upload the RSS or XML file you created, just like you would for any HTML file. That means you get to manage your content the way that works best for you and your workflow.

The Files in the Site
To keep things simple, the demo website only contains a limited number of files. But to be authentic we created this site using CSS styles, templates, and library items, just like you would for your website. The files we are most interested in are the Home page - index.html in the root of the website - and the JobBank page - jobbank.html in the 03_HumanResource directory (the individual jobs listed are stored in a the JobBank directory in there).

Feeding the Home Page
Open the home page and take a look at it. The home page is an example of a single html files that contain multiple stories. I used a repeating block with a template, but you don't have to, RSS DreamFeeder looks at the HTML code for the page, not the Dreamweaver markup. Each of these stories will need to be treated as a unique entry to be linked to by the RSS feed.

Imagine that we've just edited the content to add our update - Aug 27 Employee Special. This content represents the story that we'll want to collect for use in our RSS feed. The way we'll collect this content is based on the HTML code used to layout the content. Take a close look at the content and notice a few things:

The headline is in a TD tag with a CSS style applied - HPStoryRevHead. The anchor defines the location to link to within the page for each story - it will get picked up by the RSS feed. The story content is a P tag with a CSS style applied - HPStoryContent

Now based on what we just looked at you'll be able to define a feed for this page and use those attributes to identify the content to extract from the page and put into the RSS feed.

If RSS DreamFeeder isn't already open, you can open it by selecting RSS DreamFeeder from the Window menu.

To create a new feed you click the New Feed button in the toolbar at the top of the panel. The panel will change and you will create the settings for the new feed. You'll go through 5 panels with various settings that effect how your feed will work. Don't worry, you only have to do this once, when you create the feed. These settings stick with the feed and are used when you process the feed to control its content. We'll talk more about processing the feed later on. (Note: If your window doesn't show the Next and Cancel buttons you may need to make it taller - I would have done it automatically for you but Dreamweaver doesn't allow it).

The first panel collects descriptive information about the RSS feed. You will need to enter the Title of the feed. You will also need to enter a Description for the feed. You may optionally include a graphic or icon to be used to represent the feed, but only in aggregators that support RSS v 1 formatted feeds. If you specify a graphic you probably also need to stick to RSS v1 for the format of your file (specified in a different step). Once you're happy with your content you may click the Next button to proceed to the next panel in the series.

More Stories By Ronald Northrip

Ronald Northrip is the President of Ronald Northrip Software (http://www.rnsoft.com), a technology company focused on creating software tools to make developing websites, creating content, and using your computer simpler and better.

Comments (3) View Comments

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.

Most Recent Comments
SYS-CON Australia News Desk 12/25/05 03:09:19 PM EST

You may have noticed recently that lots of websites now contain little graphical buttons with the word XML on them. For example: or or . When you click on the button, all you see is a bunch of jumbled text and computer code [ed: unless you have a newer web browser or an aggregator]. What's this all about? It's an RSS feed, and they're changing the way people access the Internet.

SYS-CON Canada News Desk 12/25/05 02:52:31 PM EST

You may have noticed recently that lots of websites now contain little graphical buttons with the word XML on them. For example: or or . When you click on the button, all you see is a bunch of jumbled text and computer code [ed: unless you have a newer web browser or an aggregator]. What's this all about? It's an RSS feed, and they're changing the way people access the Internet.

SYS-CON Netherlands News Desk 12/25/05 02:27:52 PM EST

Creating RSS Feeds With Adobe Dreamweaver Using SOA, XML and Web Services. You may have noticed recently that lots of websites now contain little graphical buttons with the word XML on them. For example: or or . When you click on the button, all you see is a bunch of jumbled text and computer code [ed: unless you have a newer web browser or an aggregator]. What's this all about? It's an RSS feed, and they're changing the way people access the Internet.

IoT & Smart Cities Stories
We are seeing a major migration of enterprises applications to the cloud. As cloud and business use of real time applications accelerate, legacy networks are no longer able to architecturally support cloud adoption and deliver the performance and security required by highly distributed enterprises. These outdated solutions have become more costly and complicated to implement, install, manage, and maintain.SD-WAN offers unlimited capabilities for accessing the benefits of the cloud and Internet. ...
Business professionals no longer wonder if they'll migrate to the cloud; it's now a matter of when. The cloud environment has proved to be a major force in transitioning to an agile business model that enables quick decisions and fast implementation that solidify customer relationships. And when the cloud is combined with the power of cognitive computing, it drives innovation and transformation that achieves astounding competitive advantage.
DXWorldEXPO LLC announced today that "IoT Now" was named media sponsor of CloudEXPO | DXWorldEXPO 2018 New York, which will take place on November 11-13, 2018 in New York City, NY. IoT Now explores the evolving opportunities and challenges facing CSPs, and it passes on some lessons learned from those who have taken the first steps in next-gen IoT services.
SYS-CON Events announced today that Silicon India has been named “Media Sponsor” of SYS-CON's 21st International Cloud Expo, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Published in Silicon Valley, Silicon India magazine is the premiere platform for CIOs to discuss their innovative enterprise solutions and allows IT vendors to learn about new solutions that can help grow their business.
In his general session at 19th Cloud Expo, Manish Dixit, VP of Product and Engineering at Dice, discussed how Dice leverages data insights and tools to help both tech professionals and recruiters better understand how skills relate to each other and which skills are in high demand using interactive visualizations and salary indicator tools to maximize earning potential. Manish Dixit is VP of Product and Engineering at Dice. As the leader of the Product, Engineering and Data Sciences team at D...
SYS-CON Events announced today that CrowdReviews.com has been named “Media Sponsor” of SYS-CON's 22nd International Cloud Expo, which will take place on June 5–7, 2018, at the Javits Center in New York City, NY. CrowdReviews.com is a transparent online platform for determining which products and services are the best based on the opinion of the crowd. The crowd consists of Internet users that have experienced products and services first-hand and have an interest in letting other potential buye...
Founded in 2000, Chetu Inc. is a global provider of customized software development solutions and IT staff augmentation services for software technology providers. By providing clients with unparalleled niche technology expertise and industry experience, Chetu has become the premiere long-term, back-end software development partner for start-ups, SMBs, and Fortune 500 companies. Chetu is headquartered in Plantation, Florida, with thirteen offices throughout the U.S. and abroad.
The standardization of container runtimes and images has sparked the creation of an almost overwhelming number of new open source projects that build on and otherwise work with these specifications. Of course, there's Kubernetes, which orchestrates and manages collections of containers. It was one of the first and best-known examples of projects that make containers truly useful for production use. However, more recently, the container ecosystem has truly exploded. A service mesh like Istio addr...
SYS-CON Events announced today that DatacenterDynamics has been named “Media Sponsor” of SYS-CON's 18th International Cloud Expo, which will take place on June 7–9, 2016, at the Javits Center in New York City, NY. DatacenterDynamics is a brand of DCD Group, a global B2B media and publishing company that develops products to help senior professionals in the world's most ICT dependent organizations make risk-based infrastructure and capacity decisions.
Nicolas Fierro is CEO of MIMIR Blockchain Solutions. He is a programmer, technologist, and operations dev who has worked with Ethereum and blockchain since 2014. His knowledge in blockchain dates to when he performed dev ops services to the Ethereum Foundation as one the privileged few developers to work with the original core team in Switzerland.