https://github.com/planet-templates/planet-feeds
feeds - planet template pack - rss 2.0, atom, opml, and friends
https://github.com/planet-templates/planet-feeds
Last synced: 2 months ago
JSON representation
feeds - planet template pack - rss 2.0, atom, opml, and friends
- Host: GitHub
- URL: https://github.com/planet-templates/planet-feeds
- Owner: planet-templates
- Created: 2013-10-03T14:42:15.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2021-08-16T13:42:57.000Z (almost 5 years ago)
- Last Synced: 2025-12-30T23:19:00.991Z (6 months ago)
- Language: HTML
- Size: 6.84 KB
- Stars: 4
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-planet-pluto - planet-feeds
README
> NOTE: Work-in-progess. All feeds templates from the "classic" planet templates style need to get converted to embedded ruby (ERB)-style.
>
> See [rss.xml.erb](https://github.com/gravitystorm/blogs.osm.org/blob/master/theme/rss.xml.erb)
> or [opml.xml.erb](https://github.com/gravitystorm/blogs.osm.org/blob/master/theme/opml.xml.erb) at the Open Street Map Blogs / Planet as working examples.
## Planet Planet <=> Pluto - Template Cheatsheet
| <%= site.title %> or <%= site.name %>
| <%= Pluto.generator %>
| <% site.feeds.each do |feed| %>
| <%= feed.url %> or <%= feed.link %>
| <%= feed.title %> or <%= feed.name %>
| <%= feed.title2 %>
| <%= feed.feed_url %> or <%= feed.feed %>
| <% end %>
| <% items = site.items.latest.limit(24)
| ItemCursor.new( items ).each do |item,new_date,new_feed| %>
|
| <% if new_date %>
| <%= item.published %>
| <% end %>
|
| <% if new_feed %>
| <%= item.feed.url %> or <%= item.feed.link %>
| <%= item.feed.title %> or <%= item.feed.name %>
| <%= item.feed.title2 %>
| <% end %>
|
| <% if item.title %>
| <%= item.title %>
| <% end %>
|
| <% item.content %>
| <% item.url %> or <% item.link %>
| <% item.published %>
|
|
| to be done
|
| <% end %>
| <%= site.fetched %> # site (planet) last updated
# `feeds` - Pluto Template Pack - RSS 2.0, Atom, OPML, and Friends
## What's Pluto?
Pluto is a feed reader that lets you build web pages from published
web feeds. More [Pluto Project Site »](http://feedreader.github.io)
## Questions? Comments?
Send them along to the [wwwmake Forum/Mailing List](http://groups.google.com/group/wwwmake).
Thanks!