[Tor www-team] Tor blog - first steps

Eric Schaefer omg at eric-schaefer.com
Wed Jan 8 11:15:27 UTC 2014


Also as a quick note, Jekyll (probably Middleman too) can handle simple HTML markup and markdown together in front-matter formatted files, so this might not be an issue. 


On Jan 8, 2014, at 12:11 PM, Eric Schaefer <omg at eric-schaefer.com> wrote:

> 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 at 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 at 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
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/www-team/attachments/20140108/0d924acb/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.torproject.org/pipermail/www-team/attachments/20140108/0d924acb/attachment.sig>


More information about the www-team mailing list