Skip to content

Instantly share code, notes, and snippets.

@superfeedr
Created June 30, 2009 12:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save superfeedr/138123 to your computer and use it in GitHub Desktop.
Save superfeedr/138123 to your computer and use it in GitHub Desktop.
##
# This is a template file to define expectations for a feed parsed with Superfeedr.
#
# If you have identfied discrepencies in the data we send, or if you think it is not conform to
# the initial RSS or Atom feed, please fill in this template and send it to us, along with the XML file. We will then fix our
# libraries so that the result correspond to what you will have filled in this file.
#
# These is no need to complete all the file, you can just put the problematic fields. It is important however to keep the structure.
# Please see the example at the end of this file
# Date have to be entered in iso8601 format.
# Name the 2 files with the same name, with only the extension that differs : feed.xml -> feed.yaml
# Once fixed, we keep your test files in our test suite, which means that the feed is hopefully never going to break again.
##
# Feed extracted from : http://domain.tld
# On : Date
# By : emails [so that we can contact you later on if we have more problems with that feed]
#
---
title:
updated:
feed_id:
categories:
- term:
# ... you can add as many terms that you wish :
- term:
authors:
- name:
email:
uri:
links:
- href:
rel:
title:
mime_type:
# ... you can add as many links that you wish :
- href:
rel:
title:
mime_type:
entries:
- id:
title:
summary:
published:
categories:
- term:
# ... you can add as many terms that you wish :
- term:
links:
- href:
rel:
title:
mime_type:
# ... you can add as many links that you wish :
- href:
rel:
title:
mime_type:
# ... you can add as many entries that you wish :
- id:
title:
summary:
content:
published:
categories:
- term:
- term:
authors:
- email:
name:
uri:
links:
- href:
rel:
title:
mime_type:
###################################################################
# EXAMPLE :
#
##
# Feed extracted from : http://domain.tld
# On : Date
# By : emails [so that we can contact you later on if we have more problems with that feed]
#
# ---
# title: Feed Title
# updated: 2009-06-23T10:05:53-07:00
# feed_id:
# categories:
# - term: tag1
# - term: tag2
# authors:
# - name: Julien Genestoux
# email: me@me.tld
# uri: http://twitter.com/superfeedr
# links:
# - href: http://blog.superfeedr.com/atom.xml
# rel: self
# title: Superfeedr Atom Feed
# mime_type: application/xml+atom
# - href: http://blog.superfeedr.com/
# rel: self
# title: Thoughts from a super-hero
# mime_type: text/html
# entries:
# - id: blog.superfeedr.com:/feeeds/gospel/atom-or-rss-not-both
# title: RSS or Atom, not both!
# summary: "Bliblibli"
# published: 2009-06-23T00:00:00-07:00
# categories:
# - term: Gospel
# links:
# - href: http://blog.superfeedr.com/feeeds/gospel/atom-or-rss-not-both
# rel:
# title:
# mime_type:
# - id: blog.superfeedr.com:/gospel/something-stupid
# title: We're doing something stupid so that you don't have to
# summary: ""
# content: "<p>Blablablable</p>"
# published: 2009-06-19T00:00:00-07:00
# categories:
# - term: Polling
# - term: Stupid
# authors:
# - email: julien@superfeedr.com
# name: Julien Genestoux
# uri: "http://twitter.com/julien51"
# links:
# - href: http://blog.superfeedr.com/gospel/something-stupid
# rel:
# title:
# mime_type:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment