DevHeads.net

Postings by Gerald Bauer

feedtxt gem - reads Feed.TXT - feeds in text w/ metadata (YAML) n content (Markdown or HTML)

Hello,

as an alternative to JSON Feed I've put together Feed.TXT - a new
feed format in plain text with structured metadata in YAML and content
in HTML or Markdown.

Use the new feedtxt gem [1] to read / parse the new feed format for
publishing & sharing posts, articles, podcasts & more.
Try Feedtxt::Parser.parse() returning an array with a metadata hash
and items (w/ metadata hash and content).Example:

``` ruby
require 'feedtxt'

text =<<TXT
|>>>
comment: "This is a podcast feed.

Universal feedparser gem v2.0.0 Adds HTML Feeds w/ Microformats (h-entry, h-feed, etc.)

Hello,

The universal feedparser gem [1] that reads web feeds in XML (RSS,
Atom) and JSON (JSON Feed)
now supports HTML feeds w/ Microformats (h-entry, h-feed, etc.) [2][3].

Note: Microformats support in feedparser is optional.
Install and require the the microformats gem[4] to read
feeds in HTML with Microformats.

```
require 'feedparser'
require 'microformats'

text =<<HTML
<article class="h-entry">
<h1 class="p-name">Microformats are amazing</h1>
<p>Published by
<a class="p-author h-card" href="http://example.com">W.

Added JSON Feed (@jsonfeed) Format to the Universal feedparser Gem

Hello,

I've added support for reading feeds in the new JSON Feed [1] format
in - surprise, surprise - JSON to the universal feedparser [2] gem.
Nothing changes ;-) Use it like:

require 'open-uri'
require 'feedparser'

txt = open( <a href="https://jsonfeed.org/feed.json" title="https://jsonfeed.org/feed.json">https://jsonfeed.org/feed.json</a> ).read

feed = FeedParser::Parser.parse( txt )

pp feed

Enjoy. Cheers.

[1] <a href="https://jsonfeed.org" title="https://jsonfeed.org">https://jsonfeed.org</a>
[2] <a href="https://github.com/feedparser/feedparser" title="https://github.com/feedparser/feedparser">https://github.com/feedparser/feedparser</a>

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>

pluto.starter - planet ruby quick starter kit - (auto-)build your own (static) planet news sites w/ pluto

Hello,

If anyone is interested in building the next planet ruby ;-) -
I've put together pluto.starter[1] - a new quick starter boilerplate /
setup / ready-to-fork repo that lets you (auto-) build your own
(static) planet news sites from web feeds w/ ruby in minutes.

Step 0: Download and unpack (or clone).

e.g. $ git clone <a href="https://github.com/feedreader/pluto.starter.git" title="https://github.com/feedreader/pluto.starter.git">https://github.com/feedreader/pluto.starter.git</a>

Step 1: Install the planet pluto machinery / tool.

e.g. $ cd pluto.starter
$ bundle install

Step 2: Build the starter planet.

e.g.

New Horizons - Build Your Own (Static) Planet News Site w/ Pluto (and Ruby)

Hello,

Hello, from yesterday’s Vienna.rb meetup - all about reading web
feeds with ruby and building your own planet news sites.
Browse the talk notes titled New Horizons - Build Your Own (Static)
Planet News Site w/ Pluto (and Ruby) [1]
or the slide deck [2].

New Pluto Planet Guide (Book Ed.) - Free Planet (Static) Site Generator in Ruby: Auto-Build Web Pages From Published Feeds w/ Embedded Ruby (ERB) Templates / Themes

Hello,

I've put together a new all-in-one page Pluto Planet Guide (Book Edition) [1]

What's Pluto?

OpenStreetMap Blogs (blogs.osm.org) Moved from Python to Ruby ;-)

Hello,

Thanks to Andy Allan [1] for moving the OpenStreetMap Blogs [2]
from the classic Planet Planet (in Python) to the modern (Planet)
Pluto [3] (in Ruby).

See the new planet setup on Github [4].

Anyone know any Ruby Blogs? Or is up to putting together a Ruby Blogs Planet?

Cheers.

PS: What's Pluto!?

Top 33 Jekyll Plugins & Extensions (by GitHub Stars ★) - And the Winner is...

Hello,

Still early and rough - I've put together a directory for Jekyll
plugins & extensions listing the top 33 gems (ranked by GitHub stars
★). And the winner is... [1]

Cheers.

PS: Add your plugin! How it works? Add a new entry in the Awesome
Jekyll Plugins page. Example:

- [**Scholar**](<a href="https://github.com/inukshuk/jekyll-scholar" title="https://github.com/inukshuk/jekyll-scholar">https://github.com/inukshuk/jekyll-scholar</a>) \
(gem: [jekyll-scholar](<a href="https://rubygems.org/gems/jekyll-scholar" title="https://rubygems.org/gems/jekyll-scholar">https://rubygems.org/gems/jekyll-scholar</a>)) \
by Sylvester Keil -- extensions for the blogging scholar.

That's it.

New Qk/Quik Starter Template / Scaffold - Gem-Packaged Jekyll Theme - $ quik new jekyll-theme

Hello,

Starting w/ Jekyll v3.3 you can package your themes (layouts,
includes, assets) into gems. To show how easy it is to add a new
scaffold to quik/qk [1] - the missing code generator / scaffolder for
ruby. I've put together a new scaffold for gem-packaged jekyll themes
that mirrors/copies the $ jekyll new-theme command. Try:

$ quik new jekyll-theme

to get started.

Top 22 Jekyll (Static Website) Themes, Latest n Newest Themes n More @ Dr. Jekyll's

Hello,

I've updated the Dr. Jekyll's Themes [1] site that lists
ready-to-for free (open source) themes that you can use to build your
next website, book, presentation or curriculum vitae w/ Ruby.

What's news?

- All themes now include github stars (e.g. ★ 2907)
and the winner is ...
1. Jekyll Now ★ 2907 by Barry Clark
2. Poole ★ 2003 by Mark Otto
3. Poole's Hyde ★ 1626 by Mark
4. Poole's Lanyon ★ 1616 by Mark Otto
5.

Slide Show (S9) Update - Write Your Talks / Presentations in Plain Text w / Markdown (kramdown) n Jekyll Themes

Hello,

I've updated the Slide Show (S9) machinery [1]. All slide show
templates / theme packs
are now just Jekyll themes (using Liquid) and thanks to the latest
GitHub update
back on the master branch. New theme packs include Reveal.js and Shower.

For some example see:

- Reveal.js templates [2] and the live demo [3]
- Shower templates [4] and the live demo [5].

Any favorite slide show/presentation package? Questions? Comments?
Welcome.

English Premier League (EPL) 2016/17 Season - Open Data in Text n SQL, JSON,... thanks to sportdb RubyGem

Hello,

I've added the new 2016/17 season [1] for the English
Premier League (EPL).

To import the plain text public domain datasets (fixtures) in your
(SQL) database of choice (defaults to sqlite) use `$ sportdb build` in
the `/eng-england` folder. It's that easy ;-)

Enjoy the beautiful game.

Nanoc - New Static Site Sample (in Ruby) - Stay Static Showcase Update #3

Hello,

Inspired by the TodoMVC showcase I've started to put together a
static (web)site builder / generator showcase named Stay Static [1].
The idea is helping you find your static (web)site builder / generator
that works best for you (e.g. Jekyll, Middleman or Webgen?)

The latest new static site samples includes Nanoc [2]
plus source [3].

The standard sample showcases 1) pages 2) post and 3) custom content
types (e.g. bookmarks 'n' links). Is your static (web)site builder /
generator missing? New sample static sites welcome. Cheers.

PS: Interested in Static (Web)Site News?

Awesome (Gem-Packaged) Jekyll Themes - A New Collection of Jekyll 3.2+ Gem-Packaged Themes @ Planet Jekyll

Hello,

Jekyll v3.2.0 is out [1] packed full of goodies. The flagship
feature is themes. Themes?! Yes. Now versioned and packed up in good
old Ruby gems.

The first gem-packaged themes include: Minima and Garth. For more
see the Awesome (Gem-Packaged) Jekyll Themes page.

New Free Yuki & Moto Book - Gem Developer's Guide by Nick Quaranto, Eric Hodel, et al

Hello,

I've added a new book to the Yuki & Moto Press bookshelf. Let's
welcome to the series:

* Gem Developer's Guide [1] by Nick Quaranto, Eric Hodel, et al.

Happy reading & coding. Cheers.

[1] <a href="http://yukimotopress.github.io/gem-dev" title="http://yukimotopress.github.io/gem-dev">http://yukimotopress.github.io/gem-dev</a>

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>

Yuki & Moto Press - New Free Book Series About Ruby n Friends - First Book - Sinatra Intro

Hello,

I've started a new bookshelf (imprint) called Yuki & Moto Press that
collects great books in Markdown about Ruby n friends.
Using the Octobook Classics Book Theme [1] turns the pages into a
single-page (online) book.

The first book in the series include:

- Sinatra Intro [2] by Chris Schneider, Zachary Scott, et al.

Happy coding. Cheers.

[1] <a href="https://github.com/octobook/book-classics-theme" title="https://github.com/octobook/book-classics-theme">https://github.com/octobook/book-classics-theme</a>
[2] <a href="http://yukimotopress.github.io/sinatra-intro" title="http://yukimotopress.github.io/sinatra-intro">http://yukimotopress.github.io/sinatra-intro</a>

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>

Awesome kramdown - A collection of awesome kramdown goodies for the markdown converter in Ruby

Hello,

To celebrate local hero Thomas Leitner and the great markdown
converter made with ♥ in Vienna I've put together a bookmark
collection in the awesome tradition called (surprise!)
awesome-kramdown [1].

Did you know? You can't use kramdown not only on GitHub Pages (w/
Jekyll) but also
for building rfc2629 documents, man pages or Facebook Instant Articles.

Anything missing? Let us know. Cheers.

[1] <a href="https://github.com/viennahtml/awesome-kramdown" title="https://github.com/viennahtml/awesome-kramdown">https://github.com/viennahtml/awesome-kramdown</a>

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>

Write Your Talks / Presentations in Markdown - New Slide Show (S9) Online Service w/ S6 Blank and Deck.js Templates

Hello,

I've put together a litte online editor / service for the Slide
Show (S9) machinery that lets you convert plain text with markdown
formatting into slide shows using your template pack of choice (e.g.
S6 Blank, deck.js, etc.)

The service runs on Heroku e.g. tryslideshow [1][2]. About the
formatting: Heading 1s get converted to "title" or "section" slides.
Heading 2s get converted to "regular" slides and use horizontal lines
(e.g. `---`)
for "hard" slide breaks.

Free Online Full-Day Jekyll Static Site Conference 10am-5pm (PST) Sat May 7th - 12+ Talks

Hello,

Just a reminder: Tomorrow (Saturday) at 10am Pacific US West Coast
Time starts the free single-track full-day online Jekyll static site
builder conference aka JekyllConf [1].

Try kramdown Online Editor & HTTP JSON API Service - Convert Markdown to HTML & LaTeX (w/ Ruby)

Hello,

I've put together a simple online editor [1] that lets you try the
kramdown library converting markdown to HTML or LaTeX. The online app
also includes a HTTP JSON API service (e.g. /markdown) for conversion.

All is packed up in a kramdown-service gem [2] for easy (re)use and
as an extra bonus includes a binary, that is, kramup, that starts up
the online editor and service on your local machine (e.g.

Slide Show (S9) v3.0 - Write Talks / Presentations in Text w / Markdown - Many Themes (S5, S6, deck.js, impress.js, etc.)

Hello,

Starting with Slide Show (S9) [1] v3.0 all slide show/presentation
templates are now Jekyll-compatible and use Liquid.

Why?

Awesome Jekyll Updated - More Themes, Conferences, Screencasts, Articles, Applications, etc.

Hello,

I've updated the Awesome Jekyll [1] page that collects all things
about the static (web)site builder in Ruby (used by GitHub pages
and others). What's News?

Added Jekyll conferences, screencasts, showcases, news (e.g. Static Times,
Jekyll Weekly), applications (e.g. JKAN),
many more theme collections (e.g. Henry, Poole, Made Mistakes,
Zen of Book Design, etc.) and many more articles.

As always. Anything missing? Contributions welcome.

Liquid Template Language Docu Reformated - Single-Page Black-n-White Book Version (Manuscripts Edition)

Hello,

I've reformated the official Liquid template language docu [1]
into a single-page black-n-white book version [2]
(using the Manuscripts [3] format).

The table of contents reads:

Basics
- What is Liquid?
- Introduction
- Operators
- Truthy and falsy
- Types
Tags
- Control flow
- Iteration
- Variable
Filters A-Z

Why? Some might want to print it. Some might want to download it as a PDF.
Some might prefer a simple black and white style.

Questions? Comments? Welcome.

New Markdown News Channel @manuscriptsnews - Write 'n' Markup Books, Articles, Posts, etc. in Plain Text

Hello,

I've started a news channel covering news, tools 'n' tips & tricks
about writing books, articles, posts etc.

Ruby's Scaffolding Tool for New Projects (Gems, Sinatra, etc.) e.g. $ quik new gem

Hello,

I've moved all quik project templates and scripts to a new github
org, that is, quikstart [1].

What's quik?

quik [2] is a ruby quick starter template script wizard .:. the
missing code generator

Try:

$ quik list

Resulting in:

1..gem .:. Gem Quick Starter Template
2..gem-hoe .:. Gem Quick Starter Template (Hoe Classic Edition)
3..sinatra .:. Sinatra Quick Starter Template

Or try:

$ quik new gem

Resulting in:

Welcome, to the gem quick starter script.

Q: What's your gem's name? [hola]: hello
Q: What's your gem's module? [Hola]: Hello

Thanks!

Static Times Q&A with Thomas Leitner - author of the kramdown library and tools (in ruby) for markdown

Hello,

I've started a new Q&A series for the Static Times news channel
[1].

Henry’s Themes - Free Jekyll Starter Themes incl. Bootstrap, Classic Books, etc.

Hello,

Interested in getting started building website with Ruby?

I've moved all my Jekyll static site starter themes for easy
(re)use to its own github org, that is, Henry's Themes [1]

All are Jekyll 3 ready (and use kramdown for markdown processing).
Static site examples include:

- Starter ( no blog, just pages)
- Starter V2 (no blog, just pages with includes, nav, and more etc.)
- Minimal
- Bootstrap (using the source sass version)
- Classics Books

Happy Jekylling.

Building Single-Page Project Documentation Black-n-White Booklets w/ Ruby (e.g. Jekyll)

Hello,

As an experiement I have built a couple of single-page project
documentation booklets in black-n-white using the Jekyll static site
builder (in Ruby).

The examples include:

- The (Official) Jekyll Documentation (Book Edition) [1]
- The Jekyll Plugins & Tools Documentation (Book Edition) [2]
- The Octopress 3 (Jekyll's Ferrari) Documentation (Book Edition) [3]

How it works?

Basically all docu pages and READMEs in Markdown (.md) get
reformatted into an all-in-one-page booklets and auto-build with
GitHub Pages (w /Jekyll) using Jekyll booklet theme.

The Static Times (@statictimes) - New Static Site Builder / Generator News Channel (Jekyll & Friends)

Hello,

Is 2016 the year of the static site builders / generators? To track
all news about Jekyll & friends and highlight great static sites I've
started a news channel called The Static Times.

For now its a twitter feed. Follow along @statictimes [1].