1
0
Fork 0
forked from wezm/wezm.net

Remove use of Feed Burner

This commit is contained in:
Wesley Moore 2013-05-21 21:31:33 +10:00
parent ce33c02a66
commit 43eaa0b5e0
8 changed files with 17 additions and 15 deletions

View file

@ -70,10 +70,10 @@ resources made available freely by their authors:
The content is split into two sections: The content is split into two sections:
[Technical](/technical/articles/) and [Personal](/personal/articles/). There is [Technical](/technical/articles/) and [Personal](/personal/articles/). There is
a [combined feed](http://feeds.feedburner.com/wezm) containing all posts as a [combined feed](/feed/) containing all posts as
well as separate ones for well as separate ones for
[technical](http://feeds.feedburner.com/wezm-technical) and [technical](/technical/feed/) and
[personal](http://feeds.feedburner.com/wezm-personal) posts. [personal](/personal/feed/) posts.
Projects Projects
-------- --------

View file

@ -2,6 +2,5 @@
title: WezM.net - All Articles title: WezM.net - All Articles
author_name: Wesley Moore author_name: Wesley Moore
author_uri: http://www.wezm.net/about/ author_uri: http://www.wezm.net/about/
#feed_url: http://feeds.feedburner.com/wezm/
is_hidden: true is_hidden: true
feed_url: http://feeds.feedburner.com/wezm feed_url: http://www.wezm.net/feed/

View file

@ -3,4 +3,4 @@ title: WezM.net - Personal Articles
author_name: Wesley Moore author_name: Wesley Moore
author_uri: http://www.wezm.net/about/ author_uri: http://www.wezm.net/about/
is_hidden: true is_hidden: true
feed_url: http://feeds.feedburner.com/wezm-personal feed_url: http://www.wezm.net/personal/feed/

View file

@ -3,4 +3,4 @@ title: WezM.net - Technical Articles
author_name: Wesley Moore author_name: Wesley Moore
author_uri: http://www.wezm.net/about/ author_uri: http://www.wezm.net/about/
is_hidden: true is_hidden: true
feed_url: http://feeds.feedburner.com/wezm-technical feed_url: http://www.wezm.net/technical/feed/

View file

@ -10,9 +10,9 @@
<link rel="stylesheet" href="/css/screen.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="stylesheet" href="/css/mobile.css" type="text/css" media="only screen and (max-device-width: 480px)" />
<link rel="stylesheet" href="/css/prettyPhoto.css?v=3.0.1" type="text/css" media="screen" charset="utf-8" /> <link rel="stylesheet" href="/css/prettyPhoto.css?v=3.0.1" type="text/css" media="screen" charset="utf-8" />
<link rel="alternate" href="http://feeds.feedburner.com/wezm" type="application/atom+xml" title="WezM.net - All Articles" /> <link rel="alternate" href="/feed/" 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="/technical/feed/" 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" /> <link rel="alternate" href="/personal/feed/" type="application/atom+xml" title="WezM.net - Personal Articles" />
<script src="/js/jquery-1.4.4.min.js" type="text/javascript" charset="utf-8"></script> <script src="/js/jquery-1.4.4.min.js" type="text/javascript" charset="utf-8"></script>
<script src="/js/jquery.timers-1.1.2.js" type="text/javascript" charset="utf-8"></script> <script src="/js/jquery.timers-1.1.2.js" type="text/javascript" charset="utf-8"></script>
<script src="/js/jquery.prettyPhoto.js?v=3.0.1" type="text/javascript" charset="utf-8"></script> <script src="/js/jquery.prettyPhoto.js?v=3.0.1" type="text/javascript" charset="utf-8"></script>

View file

@ -7,7 +7,7 @@
<li><a href="/projects/">Projects</a></li> <li><a href="/projects/">Projects</a></li>
<li><a href="/weather/">Weather</a></li> <li><a href="/weather/">Weather</a></li>
<li> <li>
<a href="http://feeds.feedburner.com/wezm"><img src="/images/white-feed-icon.png" width="12" height="12" alt="White Feed Icon" /></a>&nbsp;<a href="http://feeds.feedburner.com/wezm">Feed</a> <a href="/feed/"><img src="/images/white-feed-icon.png" width="12" height="12" alt="White Feed Icon" /></a>&nbsp;<a href="/feed/">Feed</a>
</li> </li>
</nav> </nav>
</header> </header>

View file

@ -25,8 +25,11 @@
<% menu.each do |menu_item| <% menu.each do |menu_item|
label, count = menu_item label, count = menu_item
path = (label != "All" ? '/' + label.downcase : '') + "/articles/" path = (label != "All" ? '/' + label.downcase : '') + "/articles/"
feed = 'http://feeds.feedburner.com/wezm' if label != "All"
feed += "-#{label.downcase}" if label != "All" feed = "/#{label.downcase}/feed/"
else
feed = '/feed/'
end
active = (@item.identifier.sub(%r{page/$}, '') == path) active = (@item.identifier.sub(%r{page/$}, '') == path)
%> %>
<li> <li>

View file

@ -10,7 +10,7 @@
<section id="technical" class="column"> <section id="technical" class="column">
<div> <div>
<h1><a href="/technical/articles/">Technical</a> <h1><a href="/technical/articles/">Technical</a>
<sup><a href="http://feeds.feedburner.com/wezm-technical"><img src="/images/black-feed-icon.png" class="feed-icon" width="12" height="12" alt="Black Feed Icon" /></a></sup> <sup><a href="/technical/feed/"><img src="/images/black-feed-icon.png" class="feed-icon" width="12" height="12" alt="Black Feed Icon" /></a></sup>
</h1> </h1>
<ul class="articles"> <ul class="articles">
<% technical_articles[0..4].each do |article| %> <% technical_articles[0..4].each do |article| %>
@ -24,7 +24,7 @@
<section id="personal" class="column"> <section id="personal" class="column">
<div> <div>
<h1><a href="/personal/articles/">Personal</a> <h1><a href="/personal/articles/">Personal</a>
<sup><a href="http://feeds.feedburner.com/wezm-personal"><img src="/images/black-feed-icon.png" class="feed-icon" width="12" height="12" /></a></sup> <sup><a href="/personal/feed/"><img src="/images/black-feed-icon.png" class="feed-icon" width="12" height="12" /></a></sup>
</h1> </h1>
<ul class="articles"> <ul class="articles">
<% personal_articles[0..4].each do |article| %> <% personal_articles[0..4].each do |article| %>