jugglinmike has quit [Quit: Leaving.]
<
bobthecow>
ddfreyne: yay!
louquillio_ has joined #nanoc
achal has joined #nanoc
relix has joined #nanoc
<
TobiasFar>
what is your suggested approach for turning a rendered nanoc site back to nanoc source articles in either HTML or Markdown?
skroon has joined #nanoc
skroon has quit [Ping timeout: 240 seconds]
skroon has joined #nanoc
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
relix has joined #nanoc
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<
ddfreyne>
TobiasFar: Hmmm, interesting question
<
ddfreyne>
Would love to know what your use case for this is
<
ddfreyne>
As for extracting content: Nokogiri to parse the HTML and extract the body (e.g. doc.css('div.page').to_s)
<
TobiasFar>
ddfreyne, the use case is basically i lost my source nano repo but still have its output online ^^
<
ddfreyne>
By the late Aaron Swartz
<
VitamineD>
I think kramdown has a reverse converter as well
<
VitamineD>
or pandoc
<
TobiasFar>
for existing pages, HTML should suffice right?
<
TobiasFar>
but extracting submission dates, titles and tags would be nice, and putting it into nanoc structure
<
VitamineD>
you can just plonk the pages as-is into content/ then refactor stuff out incrementally
<
ddfreyne>
TobiasFar: You should be able to do that with Nokogiri
<
ddfreyne>
You can extract the title that way.
<
TobiasFar>
ah..great..than i'll give that a shot
<
ddfreyne>
(and content, and perhaps publication date for atticles etc)
<
ddfreyne>
stbuehler: How's Lighttpd 2.0 doing?
relix has joined #nanoc
louquillio_ has quit [Remote host closed the connection]
ics has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ics has joined #nanoc
ics has quit [Client Quit]
ics has joined #nanoc
skroon has quit [Read error: Connection reset by peer]
skroon has joined #nanoc
<
bobthecow>
the "page not found" duplication in the empty sidebar nav is distracting and a bit weird.
<
bobthecow>
gets even weirder when you view it at mobile widths, because then it's just an empty white box.
<
ddfreyne>
bobthecow: Hmmm!
<
ddfreyne>
Not sure how to fix that properly.
<
bobthecow>
i'd just remove it if it's empty?
<
ddfreyne>
bobthecow: created an issue for it
<
ddfreyne>
Will deal with it later :)
achal has quit [Quit: Connection closed for inactivity]
ics has quit [Ping timeout: 240 seconds]
ics has joined #nanoc
zi_ has joined #nanoc
spader has joined #nanoc
terinjokes has quit [*.net *.split]
zi has quit [*.net *.split]
zi_ is now known as zi
alerante has joined #nanoc
alerante has quit [Changing host]
alerante has joined #nanoc
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jugglinmike has joined #nanoc
molohov has joined #nanoc