Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Publishing RSS feeds

From: Drupal Gardens Essential Training

Video: Publishing RSS feeds

Until about 12 years ago, you had to go directly to a web site to get information from it, but the movement widely known as Web 2.0 encouraged more interactivity among sites so that now, for example, you can read someone's diary post on livejournal.com without leaving facebook.com. In fact, you can read a lot of the same content in an e-mail reader or on your mobile phone. The main thing that makes this happen is called RSS, which is short for Really Simple Syndication. I swear I'm not making that up. That's really what it stands for.

Publishing RSS feeds

Until about 12 years ago, you had to go directly to a web site to get information from it, but the movement widely known as Web 2.0 encouraged more interactivity among sites so that now, for example, you can read someone's diary post on livejournal.com without leaving facebook.com. In fact, you can read a lot of the same content in an e-mail reader or on your mobile phone. The main thing that makes this happen is called RSS, which is short for Really Simple Syndication. I swear I'm not making that up. That's really what it stands for.

I won't go into the detail of how it works or how to read information through RSS. For that just search the lynda.com site for videos about RSS. The important thing for us is that Drupal Gardens publishes your content as RSS feeds. This video shows you how it does that. First, let's talk about how Drupal Gardens publishes your information. In short, anywhere on your site whether is a collection of nodes, for example here on the front page, Drupal Gardens automatically publishes it as a feed, and I'll show you that by clicking on the little RSS icon up here in the front page.

Click and there it is; that's the RSS format. If you wanted to subscribe to this in another web site or in a mail program or through LiveJournal or another web site that reads RSS feeds, you just copy this and paste it into the appropriate place. Now on that front page, the RSS icon is for everything that's been promoted to the front page. For example, if I go down here and take a look at our tours, and let's say I'm move this Big Sur Retreat to the front page-- I'll go up and edit it, scroll down, and publish it to the front page, save it-- then when we go back to the front page, you'll see that it's also included with the other two nodes. And when we look at our RSS feed, it's there as well, along with a photo that comes with it.

I'm going to just go back and remove that from the front page, by clicking Edit, scroll down again, publish and un-promote. There we go. Another place where you'll find an RSS feed is in each forum. I'll click on Forum to go to all of our forums, and let's just say this General discussion forum, when I click there, you'll notice that it brings up an RSS icon up here. Click that and you see the posts that are in it. That brings us to the question, are you actually giving away all of your stuff when you provide your content through an RSS feed? Don't worry about it.

You have a lot of control over how much goes out this way through three different methods, and I'll show you each one of them. The first method affects every RSS feed on your site. To get there, we'll go back to our site and then click Configuration and scroll down to RSS publishing. It's under Web Services. You'll notice that you have a choice of how many items to include in each feed, and also how much of each individual item to include. I'm going to change that from Full text to Titles only and save it, and then I'll go back to our front page and see what that looks like.

Back at our front page and look at the RSS feed. Now you see it's just the titles. So if someone were to subscribe to this, they would have to click through on the title in order to see what the story was about. I'm just going to go back and change it back. Configuration, scroll down to RSS publishing, and change it again to Full text, Save configuration. The second method of control affects all nodes of a specific content type. We can look at this best by going to our front page, where we'll see a list of nodes of varying content types.

We'll go to our front page, and here we see a basic page and a news item both as part of this feed. Let's say that we only want for the full text of the news items to come through on our feed, but not those things that are part of our basic page. What we would do is go up to Structure and edit the content type by clicking on the Content types link. Then to our Basic page and manage display. Now we talked a little bit about this when we were putting fields into content types earlier on in the course, but we skipped over this bit here, Custom Display Settings.

I'll open it up now, and we can change what's displayed in the RSS feed by clicking on this check box and saying save. Now we have another little button up here that says RSS. We click there, and we can decide whether we want to show the body or not. By default, incidentally when you add that custom display, it's hidden. So I'm just going to leave it that way and say save. Then go back to our front page, and let's take a look at our RSS feed now.

Before, this "Explore our world your way,"-- and remember that was a basic page-- showed the whole node. Now, it just shows the title, so again, you can withhold certain information by content type. The third method to control RSS feeds works only on simple views, and you learned about those in the video about simple views earlier on in this course. We created one, you might remember, called New Tours, and we put that in a block down here. It also shows up on a page, which you will see if you go to New Tours.

Once again, we're looking at a view which collects all nodes of the Tour content type, and we can see our RSS feed by clicking right here. And we see the full nodes, as we would expect. But what if we don't show any kind of RSS feed? Well, we can do that by editing the simple view. Click Structure, scroll down to Simple views and click, and then we're going to edit our Newest tours by clicking edit next to it. There is a check box here that lets you add an RSS feed or take it away, and that's exactly what we're going to do.

Now by default Drupal includes an RSS feed with every simple view, so if you don't want them to go out, make sure you uncheck this, and then click Submit. Now, when we go back to that page, we see the RSS feed icon has disappeared. So there's the three methods of taking away RSS feeds or controlling what goes out into them. It doesn't matter which one you choose, as long as you're conscious of how much you're sending out there. Remember, whatever you publish via RSS other people will republish on their sites, and they're allowed to.

You're saying that you want them to do that. If you don't want that, cut it off. On the other hand, you could increase how much you're publishing, which is good for a promotional site like ours where you probably want people to republish your content and draw them to look at your tours and other information about California. By the way, Drupal Gardens also lets you display other sites' RSS feeds for free. And if you want to learn about that, watch the video about subscribing to RSS feeds.

Show transcript

This video is part of

Image for Drupal Gardens Essential Training
Drupal Gardens Essential Training

65 video lessons · 11918 viewers

Tom Geller
Author

 
Expand all | Collapse all
  1. 29m 56s
    1. Welcome
      1m 39s
    2. Previewing the finished project
      1m 29s
    3. What's new in the late 2011 update?
      5m 28s
    4. What is Drupal?
      5m 8s
    5. What is Drupal Gardens?
      5m 57s
    6. Getting started with Drupal Gardens
      5m 35s
    7. Getting help
      4m 1s
    8. Using the exercise files
      39s
  2. 17m 40s
    1. Using the administrative overlay
      2m 54s
    2. Using the dashboard, toolbar, and shortcut bar
      5m 36s
    3. Touring the newly created site
      3m 55s
    4. Configuring the site
      5m 15s
  3. 59m 47s
    1. Creating and managing content
      11m 11s
    2. Creating and managing content types
      10m 35s
    3. Embedding YouTube videos and other media
      4m 5s
    4. Subscribing to RSS feeds
      4m 49s
    5. Categorizing RSS feeds
      5m 1s
    6. Managing tags and taxonomies
      5m 50s
    7. Creating dynamic pages with simple views
      4m 29s
    8. Creating complex information collections with Views
      8m 59s
    9. Creating image galleries
      4m 48s
  4. 37m 50s
    1. Working with blocks
      10m 26s
    2. Setting up rotating banners
      7m 45s
    3. Understanding menus
      7m 27s
    4. Setting up contact forms
      7m 7s
    5. Adding and removing functionality
      5m 5s
  5. 54m 54s
    1. Managing users
      6m 28s
    2. Adjusting user permissions
      6m 35s
    3. Managing comments
      7m 7s
    4. Slowing spam
      5m 20s
    5. Starting discussion forums
      9m 3s
    6. Creating blogs
      4m 41s
    7. Setting up mailing lists
      4m 50s
    8. Allowing users to rate content
      4m 21s
    9. Using best practices for online clubs
      6m 29s
  6. 44m 35s
    1. Getting feedback with webforms
      6m 14s
    2. Publishing RSS feeds
      6m 40s
    3. Taking advantage of social media
      9m 33s
    4. Emphasizing external links
      2m 44s
    5. Improving search engine optimization (SEO)
      7m 30s
    6. Internationalizing sites
      8m 6s
    7. Tracking site usage with Google Analytics
      3m 48s
  7. 34m 40s
    1. Understanding Drupal themes
      5m 44s
    2. Understanding the Theme Builder
      5m 25s
    3. Switching, saving, and copying themes
      7m 13s
    4. Introducing custom CSS
      6m 51s
    5. Refining selections in the Theme Builder
      5m 48s
    6. Exporting themes
      3m 39s
  8. 48m 31s
    1. Changing the site's color palette
      2m 32s
    2. Changing the site's main logo and favicon
      5m 22s
    3. Changing the column number and arrangement
      5m 7s
    4. Adding background colors and images
      6m 29s
    5. Changing element spacing and borders
      6m 11s
    6. Adjusting typography
      4m 24s
    7. Using fonts from outside sources
      5m 7s
    8. Inserting raw CSS code into themes
      6m 57s
    9. Adding visual effects with JavaScript libraries
      6m 22s
  9. 14m 18s
    1. Finessing theme design
      7m 51s
    2. Eight ideas for modifying themes
      6m 27s
  10. 23m 38s
    1. Monitoring sites
      4m 11s
    2. Duplicating and deleting sites
      4m 23s
    3. Adding custom domains
      3m 48s
    4. Using exported sites outside of Drupal Gardens
      3m 46s
    5. Hosting exported Drupal Gardens sites
      7m 30s
  11. 51s
    1. Goodbye
      51s

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Join now "Already a member? Log in

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed Drupal Gardens Essential Training.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Are you sure you want to delete this note?

No

Your file was successfully uploaded.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.