This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
Ethan Rowe (author)
Wed Sep 09 11:35:09 -0700 2009
| name | age | message | |
|---|---|---|---|
| |
README | Fri Aug 28 13:25:22 -0700 2009 | |
| |
Rakefile | Wed Aug 26 12:44:35 -0700 2009 | |
| |
app/ | Wed Aug 26 12:44:35 -0700 2009 | |
| |
blogger_extension.rb | Wed Aug 26 12:44:35 -0700 2009 | |
| |
db/ | Wed Aug 26 12:44:35 -0700 2009 | |
| |
lib/ | Wed Sep 09 14:13:12 -0700 2009 | |
| |
spec/ | Wed Aug 26 12:44:35 -0700 2009 |
README
= Blogger Integration To apply blogger database migration: rake db:migrate:extension To import blog articles, run one of the following: #1 rake blogger:import_articles RSS_FEED="http://blog.endpoint.com/feeds/posts/default?alt=rss&max-results=999" #2 rake blogger:improt_articles["http://blog.endpoint.com/feeds/posts/default?alt=rss&max-results=999"] #3 rake blogger:import_articles (where RSS_FEED is set in environment) To add blogger articles, add the following to a page, snippet or layout, where inputs to the feed include limit or sort: Example #1: <r:blogger_articles> <r:blogger_articles:full> <h2>Recent Blog Articles</h2> <r:blogger_articles:each> <r:blogger_article /><br /> </r:blogger_articles:each> </r:blogger_articles:full> </r:blogger_articles> Example #2: <r:blogger_articles limit="3" sort_by="date_published" sort_order="DESC"> <r:blogger_articles:full> <h2>Recent Blog Articles</h2> <ul> <r:blogger_articles:each> <li><r:blogger_article /></li> </r:blogger_articles:each> </ul> </r:blogger_articles:full> <r:blogger_articles:empty> Sorry, there are no recent blog articles. </r:blogger_articles:empty> </r:blogger_articles> To add news and blogger articles, add the following to a page, snippet or layout: Example #1: <r:news_blogger_articles> <r:news_blogger_articles:full> <h2>Recent Blog Articles</h2> <r:news_blogger_articles:each> <r:news_blogger_article /><br /> </r:news_blogger_articles:each> </r:news_blogger_articles:full> </r:news_blogger_articles> Example #2: <r:news_blogger_articles blogger_limit="3" news_limit="1" blogger_sort_by="date_published" blogger_sort_order="DESC" news_sort_by="published_at" news_sort_order="DESC" all_sort_by="title" all_sort_order="ASC"> <r:news_blogger_articles:full> <h2>Recent Blog Articles</h2> <ul> <r:news_blogger_articles:each> <li><r:news_blogger_article /></li> </r:news_blogger_articles:each> </ul> </r:news_blogger_articles:full> <r:news_blogger_articles:empty> Sorry, there are no recent news or blog articles. </r:news_blogger_articles:empty> </r:news_blogger_articles>







