mirror of
https://github.com/wezm/wezm.net.git
synced 2024-12-18 18:29:54 +00:00
Point feeds at FeedBurner
This commit is contained in:
parent
a5b823667c
commit
c2b76e07f6
9 changed files with 14 additions and 11 deletions
3
Rules
3
Rules
|
@ -44,8 +44,7 @@ route '*/json/' do
|
|||
end
|
||||
|
||||
route %r{.*/feed/} do
|
||||
path = Pathname(item.identifier)
|
||||
path.cleanpath.to_s + '.xml'
|
||||
item.identifier + 'index.xml'
|
||||
end
|
||||
|
||||
route '/robots/' do
|
||||
|
|
|
@ -14,7 +14,7 @@ This site is written in [Markdown][markdown], generated using [nanoc][nanoc], en
|
|||
<a href="http://manage.crucialp.com/aff.php?aff=261" class="affiliate">Crucial Paradigm</a> VPS
|
||||
running [Debian GNU/Linux][debian] and [nginx][nginx].
|
||||
|
||||
The content is split into two primary sections: [Technical](/technical/articles/) and [Personal](/personal/articles/). There is a [combined feed](http://localhost:3000/feed.xml) containing all posts as well as separate ones for [technical](/technical/feed.xml) and [personal](/personal/feed.xml) posts.
|
||||
The content is split into two primary sections: [Technical](/technical/articles/) and [Personal](/personal/articles/). There is a [combined feed](http://feeds.feedburner.com/wezm) containing all posts as well as separate ones for [technical](http://feeds.feedburner.com/wezm-technical) and [personal](http://feeds.feedburner.com/wezm-personal) posts.
|
||||
|
||||
Projects
|
||||
--------
|
||||
|
|
|
@ -4,3 +4,4 @@ author_name: Wesley Moore
|
|||
author_uri: http://www.wezm.net/about/
|
||||
#feed_url: http://feeds.feedburner.com/wezm/
|
||||
is_hidden: true
|
||||
feed_url: http://feeds.feedburner.com/wezm
|
|
@ -3,3 +3,4 @@ title: WezM.net - Personal Articles
|
|||
author_name: Wesley Moore
|
||||
author_uri: http://www.wezm.net/about/
|
||||
is_hidden: true
|
||||
feed_url: http://feeds.feedburner.com/wezm-personal
|
|
@ -3,3 +3,4 @@ title: WezM.net - Technical Articles
|
|||
author_name: Wesley Moore
|
||||
author_uri: http://www.wezm.net/about/
|
||||
is_hidden: true
|
||||
feed_url: http://feeds.feedburner.com/wezm-technical
|
|
@ -4,6 +4,6 @@
|
|||
<link rel="stylesheet" href="/css/reset.css" type="text/css" media="screen,projection" />
|
||||
<link rel="stylesheet" href="/css/screen.css" type="text/css" media="screen,projection" />
|
||||
<link rel="stylesheet" href="/css/mobile.css" type="text/css" media="only screen and (max-device-width: 480px)" />
|
||||
<link rel="alternate" href="/feed.xml" type="application/atom+xml" title="WezM.net - All Articles" />
|
||||
<link rel="alternate" href="/technical/feed.xml" type="application/atom+xml" title="WezM.net - Technical Articles" />
|
||||
<link rel="alternate" href="/personal/feed.xml" type="application/atom+xml" title="WezM.net - Personal Articles" />
|
||||
<link rel="alternate" href="http://feeds.feedburner.com/wezm" type="application/atom+xml" title="WezM.net - All Articles" />
|
||||
<link rel="alternate" href="http://feeds.feedburner.com/wezm-technical" type="application/atom+xml" title="WezM.net - Technical Articles" />
|
||||
<link rel="alternate" href="http://feeds.feedburner.com/wezm-personal" type="application/atom+xml" title="WezM.net - Personal Articles" />
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
<li><a href="/about/">About</a></li>
|
||||
<li><a href="/projects/">Projects</a></li>
|
||||
<li>
|
||||
<a href="/feed.xml"><img src="/images/white-feed-icon.png" width="12" height="12" alt="White Feed Icon" /></a>
|
||||
<a href="/feed.xml">Feed</a>
|
||||
<a href="http://feeds.feedburner.com/wezm"><img src="/images/white-feed-icon.png" width="12" height="12" alt="White Feed Icon" /></a>
|
||||
<a href="http://feeds.feedburner.com/wezm">Feed</a>
|
||||
</li>
|
||||
</ul>
|
||||
<a href="/">WezM<sup>.net</sup></a>
|
||||
|
|
|
@ -40,7 +40,8 @@
|
|||
<% menu.each do |menu_item|
|
||||
label, count = menu_item
|
||||
path = (label != "All" ? '/' + label.downcase : '') + "/articles/"
|
||||
feed = (label != "All" ? '/' + label.downcase : '') + "/feed.xml"
|
||||
feed = 'http://feeds.feedburner.com/wezm'
|
||||
feed += "-#{label.downcase}" if label != "All"
|
||||
active = (@item.identifier.sub(%r{page/$}, '') == path)
|
||||
%>
|
||||
<li>
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
<div id="technical" class="column">
|
||||
<div>
|
||||
<h1><a href="/technical/articles/">Technical</a>
|
||||
<sup><a href="/technical/feed.xml"><img src="/images/black-feed-icon.png" width="12" height="12" alt="Black Feed Icon" /></a></sup>
|
||||
<sup><a href="http://feeds.feedburner.com/wezm-technical"><img src="/images/black-feed-icon.png" width="12" height="12" alt="Black Feed Icon" /></a></sup>
|
||||
</h1>
|
||||
<ul class="articles">
|
||||
<% technical_articles[0..4].each do |article| %>
|
||||
|
@ -28,7 +28,7 @@
|
|||
<div id="personal" class="column">
|
||||
<div>
|
||||
<h1><a href="/personal/articles/">Personal</a>
|
||||
<sup><a href="/personal/feed.xml"><img src="/images/black-feed-icon.png" width="12" height="12" /></a></sup>
|
||||
<sup><a href="http://feeds.feedburner.com/wezm-personal"><img src="/images/black-feed-icon.png" width="12" height="12" /></a></sup>
|
||||
</h1>
|
||||
<ul class="articles">
|
||||
<% personal_articles[0..4].each do |article| %>
|
||||
|
|
Loading…
Reference in a new issue