diff options
| author | Franck Cuny <franck.cuny@gmail.com> | 2013-12-09 22:08:05 -0800 |
|---|---|---|
| committer | Franck Cuny <franck.cuny@gmail.com> | 2013-12-09 22:08:05 -0800 |
| commit | f338b31bd5073004cbd1d1b0535b51e11cbe0679 (patch) | |
| tree | 2465ff41ccfc48bd9cb57644bee29b43d62e432f | |
| parent | Delete a bunch of posts. (diff) | |
| download | lumberjaph-f338b31bd5073004cbd1d1b0535b51e11cbe0679.tar.gz | |
Remove a bunch of unused files.
20 files changed, 0 insertions, 77 deletions
diff --git a/_posts/2008-08-16-my-lifestream-page.md b/_posts/2008-08-16-my-lifestream-page.md deleted file mode 100644 index 46a33a8..0000000 --- a/_posts/2008-08-16-my-lifestream-page.md +++ /dev/null @@ -1,57 +0,0 @@ ---- -layout: post -title: my lifestream page -summary: In which I write a simple lifestream page in javascript ---- - -For a while I've wanted to mash-up the different services I use on a single page. My first attempt was with <a href="http://plagger.org/trac">plagger</a>, and publishing all the information on my google calendar. That wasn't really interesting, as I don't need to archived all this stuff. After this one, I've tried to make a static page, using <a href="http://developer.yahoo.com/yui/">the yahoo! library interface</a> stuff. A page with tabs, each tabs for a service. The content was generated with Plagger and Template Toolkit. It was working fine, but I had to do some HTML, check why some some stuff were not working, etc. And as I'm not a designer, and as I'm incapable to think a good user interface, I was quickly fed up with this solution. - -I use <a href="http://pipes.yahoo.com/pipes/">yahoo! pipes</a> for mashing some feeds, and saw that you can get a result from your feed in JSON. I've started to think about a simple page with just some javascript, a simple css, and using the JSON result. So I've created a feed that combine the services that I use (<a title="pipe" href="http://pipes.yahoo.com/franckcuny/myfeeds " target="_blank">the pipe is here</a>), created <a href="http://franck.breizhdev.net/">a simple HTML page</a>, read some jquery documentation on how to read a JSON file, and created this page. The code is really simple. For the flickr stream, I use the code generated from the <a title="flickr badge generator" href="http://www.flickr.com/badge.gne">badge generator</a>. I've done some modifications, like removing the table, removing some classes, altering the css, ... The remaining code is - - -{% highlight html %} -<div id="flickr_badge_uber_wrapper"> - <script src="http://www.flickr.com/badge_code_v2.gne?count=9&display=latest&size=s&layout=h&source=user&user=27734462%40N00" type="text/javascript"></script></div> -{% endhighlight %} - -For displaying the result of the JSON feed, I've found some simple code, that I've modified a bit to feet my purpose. - -{% highlight javascript %} -$(function(){ - var CssToAdd = new Object(); - $.getJSON('http://pipes.yahoo.com/pipes/pipe.run?_id=NMLU4MNq3RGDW_8fpwt1Yg&_render=json&_callback=?', - function(data){ - $('div#loading-area').hide('fast'); - $.each(data.value.items, function(i,item){ - var a_class; - - try { - if (item.link.match(/last/)) { - a_class = 'lastfm'; - }else if (item.link.match(/pownce/)) { - a_class = 'lastfm'; - }else if (item.link.match(/breizhdev/)) { - a_class = 'blog'; - }else if (item.id.content.match(/google/)) { - a_class = 'greader'; - }else{ - a_class = 'delicious'; - } - }catch(err){ - a_class = 'delicious'; - } - - $('<a>').attr('href',item.link).text(item.title).addClass(a_class).appendTo('#sample-feed-block'); - }); - $('#sample-feed-block a').wrapAll('<ul>').wrap('<li>'); - }); -}); -{% endhighlight %} - -As my javascript's skills are near 0, I've no doubt that there is some better way to do this. Feel free to send me a patch ;) - -The page is available <a href="http://franck.breizhdev.net/">here</a>. - -If you want to copy this page, and use your own pipe, don't forget to append "<strong>=json&_callback=?</strong>" at the end of the url of the JSON version of the feed. - -The thing that I really like with this page, it's that everything fit in a single HTML file. The jquery.min.js is hosted on the <a title="jquery" href="http://jquery.com">jquery site</a>, the icons are favicons pulled directly from the sites, so anyone can juste copy this page, change the address of the pipe, modify the flickr call, play a bit with the embded CSS, and it's done. diff --git a/images/3953273590_704e3899d5_m.jpg b/images/3953273590_704e3899d5_m.jpg Binary files differdeleted file mode 100644 index aeb6c57..0000000 --- a/images/3953273590_704e3899d5_m.jpg +++ /dev/null diff --git a/images/apple-touch-icon-114x114-precomposed.png b/images/apple-touch-icon-114x114-precomposed.png Binary files differdeleted file mode 100644 index 149b3d9..0000000 --- a/images/apple-touch-icon-114x114-precomposed.png +++ /dev/null diff --git a/images/apple-touch-icon-144x144-precomposed.png b/images/apple-touch-icon-144x144-precomposed.png Binary files differdeleted file mode 100644 index 464af66..0000000 --- a/images/apple-touch-icon-144x144-precomposed.png +++ /dev/null diff --git a/images/apple-touch-icon-72x72-precomposed.png b/images/apple-touch-icon-72x72-precomposed.png Binary files differdeleted file mode 100644 index 57a8411..0000000 --- a/images/apple-touch-icon-72x72-precomposed.png +++ /dev/null diff --git a/images/apple-touch-icon-precomposed.png b/images/apple-touch-icon-precomposed.png Binary files differdeleted file mode 100644 index 6a469ed..0000000 --- a/images/apple-touch-icon-precomposed.png +++ /dev/null diff --git a/images/bio-photo.jpg b/images/bio-photo.jpg Binary files differdeleted file mode 100644 index f044a59..0000000 --- a/images/bio-photo.jpg +++ /dev/null diff --git a/images/bio-photo.jpg-old b/images/bio-photo.jpg-old Binary files differdeleted file mode 100644 index eaf7572..0000000 --- a/images/bio-photo.jpg-old +++ /dev/null diff --git a/images/mm-theme-post-600.jpg b/images/mm-theme-post-600.jpg Binary files differdeleted file mode 100644 index 8b08fc8..0000000 --- a/images/mm-theme-post-600.jpg +++ /dev/null diff --git a/images/site-logo.jpg b/images/site-logo.jpg Binary files differdeleted file mode 100644 index a831702..0000000 --- a/images/site-logo.jpg +++ /dev/null diff --git a/images/site-logo.png b/images/site-logo.png Binary files differdeleted file mode 100644 index e869516..0000000 --- a/images/site-logo.png +++ /dev/null diff --git a/images/so-simple-sample-image-1.jpg b/images/so-simple-sample-image-1.jpg Binary files differdeleted file mode 100644 index ecbe256..0000000 --- a/images/so-simple-sample-image-1.jpg +++ /dev/null diff --git a/images/so-simple-sample-image-2.jpg b/images/so-simple-sample-image-2.jpg Binary files differdeleted file mode 100644 index 50d8041..0000000 --- a/images/so-simple-sample-image-2.jpg +++ /dev/null diff --git a/images/so-simple-sample-image-3.jpg b/images/so-simple-sample-image-3.jpg Binary files differdeleted file mode 100644 index 1981628..0000000 --- a/images/so-simple-sample-image-3.jpg +++ /dev/null diff --git a/images/so-simple-sample-image-4.jpg b/images/so-simple-sample-image-4.jpg Binary files differdeleted file mode 100644 index 65fe65b..0000000 --- a/images/so-simple-sample-image-4.jpg +++ /dev/null diff --git a/images/so-simple-sample-image-5.jpg b/images/so-simple-sample-image-5.jpg Binary files differdeleted file mode 100644 index f91466b..0000000 --- a/images/so-simple-sample-image-5.jpg +++ /dev/null diff --git a/images/so-simple-theme-preview.png b/images/so-simple-theme-preview.png Binary files differdeleted file mode 100644 index d5529dd..0000000 --- a/images/so-simple-theme-preview.png +++ /dev/null diff --git a/images/stargit.jpg b/images/stargit.jpg Binary files differdeleted file mode 100644 index b835897..0000000 --- a/images/stargit.jpg +++ /dev/null diff --git a/sitemap.xml b/sitemap.xml deleted file mode 100644 index 94768a8..0000000 --- a/sitemap.xml +++ /dev/null @@ -1,20 +0,0 @@ ---- -layout: nil ---- -<?xml version="1.0" encoding="utf-8"?> -<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> -<url> -<loc>http://lumberjaph.net/</loc> -<lastmod>{{ site.time | date_to_xmlschema }}</lastmod> -<changefreq>weekly</changefreq> -<priority>1.0</priority> -</url> -{% for post in site.posts %} -<url> -<loc>http://lumberjaph.net{{ post.url }}</loc> -<lastmod>{{ post.date | date_to_xmlschema }}</lastmod> -<changefreq>monthly</changefreq> -<priority>0.9</priority> -</url> -{% endfor %} -</urlset> diff --git a/images/affiche_fpw11.jpg b/static/imgs/affiche_fpw11.jpg Binary files differindex 3e04a07..3e04a07 100644 --- a/images/affiche_fpw11.jpg +++ b/static/imgs/affiche_fpw11.jpg |
