
Hi Rey -
Just had a look at `entries.json` that's on the ticket and noticed the markup in the `content`. Good point, I can run the ‘content’ through Html2MarkDown(http://html2markdown.com/) before it goes into a front-matter formatted markdown file.
When you export to markdown, for example, would this be a clean markdown file per post with frontmatter, etc? Yes, this is the plan. Separate markdown files per post, front-matter formatter (or another format depending on the site generator)
Eric On Jan 8, 2014, at 11:50 AM, Rey Dhuny <rey@spcshp.com> wrote:
Awesome!
Just had a look at `entries.json` that's on the ticket and noticed the markup in the `content`.
I can export each post into a markdown file or whatever format the community decides on for the static site generator.
When you export to markdown, for example, would this be a clean markdown file per post with frontmatter, etc?
Rey
-- reyhan.org
On Wednesday, 8 January 2014 at 10:37, Eric Schaefer wrote:
I have scraped all the old blog posts with a small ruby script that I threw together.
They’re all stored in a JSON file, and I can export each post into a markdown file or whatever format the community decides on for the static site generator.
https://trac.torproject.org/projects/tor/ticket/10479
Just FYI so we don’t duplicate this effort.
Eric
On Jan 7, 2014, at 1:50 PM, Eric Schaefer <omg@eric-schaefer.com> wrote:
Hey everyone, I’m new to the Tor community (Hi!) but I’ve had some relative success with migrating Drupal blogs to other formats.
As the debate around which static site generator starts up, I figure that I could help with just moving the old posts out into usable HTML chunks (re this).
Could andrew/lunar point me where to get a snapshot of the database and code for the blog? Thanks!
-ultrasandwich
________________________________________________________________________ Tor Website Team coordination mailing-list
To unsubscribe or change other options, please visit: https://lists.torproject.org/cgi-bin/mailman/listinfo/www-team
________________________________________________________________________ Tor Website Team coordination mailing-list
To unsubscribe or change other options, please visit: https://lists.torproject.org/cgi-bin/mailman/listinfo/www-team