Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6068523
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T09:43:26+00:00 2026-05-23T09:43:26+00:00

The docs state all you all to do is define the description and date.

  • 0

The docs state all you all to do is define the description and date. This does not work. the descriptions and and dates are not output in the feed. Only the title. Does anyone know how to output the description and date? all help is greatly appreciated.

class NewsFeed(Feed):
    title = "whatever"
    link = "Whatever"
    description = "myfeed"

    def items(self):
        return News.objects.all().order_by('-postdate')[:5]

    def item_title(self, item):
        return item.title

    def item_description(self, item):
        return item.summary

    def item_pubdate(self, item):
        return item.postdate

class News(models.Model):
    title = whatever.....
    url = whatever......
    postdate = models.DateField(default=date.today)
    summary = models.TextField(help_text="helptext")

To me this should work, however dates/descriptions are not output in Google Reader?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T09:43:27+00:00Added an answer on May 23, 2026 at 9:43 am

    Im not too sure what the problem is here, some feeds work after 24 hours, I think google reader needs time to update itself, however some other feeds ive tried with other sites with the same code still dont work. strange. Some work some dont, same code? ill post when i find a more suitable answer, but the code above works in the majority of cases for most people.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

MSDN docs say that only value types need boxing, but this does not apply
I'm converting an app to work in 64-bit. The Apple docs state that the
These are the docs about .ToString() that has prompted this question. They state: Because
The python 2.6 docs state that x % y is defined as the remainder
The Adobe docs (I can't find which) state that Flash can read Shared Objects
The docs for Dictionary.TryGetValue say: When this method returns, [the value argument] contains the
The docs at www.fastcgi.com aren't clear on this (to me), so I hope someone
The docs aren't entirely clear on this - is there a difference between these
The docs for Uri.LocalPath don't say what happens if you feed it a non
The docs on this are pretty shoddy. There are a number of events you

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.