{"thread":{"id":"23858","subject":"gitblogger","startedAt":"2010-05-20T17:29:30Z","lastAt":"2010-05-21T15:54:59Z","messageCount":5,"participants":["Andy Parkins","Ping Yin","Jakub Narebski"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"141974","messageId":"ht3reo$b6i$1@dough.gmane.org","threadId":"23858","inReplyTo":null,"subject":"gitblogger","fromName":"Andy Parkins","fromEmail":"andyparkins@gmail.com","sentAt":"2010-05-20T17:29:30Z","receivedAt":"2010-05-20T17:29:30Z","isPatch":false,"sender":{"key":"andyparkins@gmail.com","avatar":null},"body":"Hello,\n\nJust a small announcement of a little project I just published.  Normally I \nwouldn't bother troubling you all, but I thought whoever it was wrote the \nkey feature (git-notes) might appreciate knowing it was being used...\n\nI've been wanting for a while to keep my blog in git (in fact I did do so, \nexcept it was a full ikiwiki installation, but ikiwiki is so slow, and meant \nI had to use my own computer to host my blog).  What I wanted was to have a \npost-receive hook that automatically compiled the markdown-syntax source \nfiles to HTML articles and posted them to my blogger account.  However, I \nwanted to be able to modify, rename, delete, etc, etc the local files while \nkeeping the remote end in sync.\n\nI was motivated to write the necessary script when I noticed that git 1.7 \ncomes with shiny git-notes support.  This is just what I needed -- when you \npost an article to blogger using the GData API, it gives you back a freshly \nassigned post ID.  That post ID is the only (reliable) way you have of \nkeeping track of the link between the remote article and the local file that \ngenerated it.  My script grabs that ID and uses git-notes to store it \nagainst the object hash of the original article file.\n\nThen, when you change that article in the repository (git diff-tree is a \ngodsend by the way), it's a simply matter of using git-notes again to look \nup the postID and send the appropriate GData command to update that article.\n\nSummary: git-notes... excellent, exactly the tool I needed.\n\nIf you write a blog and would prefer git + markdown for maintaining it over \nHTML in a web interface, the repository is at\n\nhttp://gitorious.org/git_blogger\n\n\n\nAndy\n-- \nDr Andy Parkins\nandyparkins@gmail.com\n"},{"id":"142002","messageId":"AANLkTilpaRyrIgHN5eK_jRFJoukOSYlyEMwU1-LdGT0K@mail.gmail.com","threadId":"23858","inReplyTo":"ht3reo$b6i$1@dough.gmane.org","subject":"Re: gitblogger","fromName":"Ping Yin","fromEmail":"pkufranky@gmail.com","sentAt":"2010-05-21T02:00:35Z","receivedAt":"2010-05-21T02:00:35Z","isPatch":false,"sender":{"key":"pkufranky@gmail.com","avatar":"https://avatars.githubusercontent.com/u/5346?v=4"},"body":"On Fri, May 21, 2010 at 1:29 AM, Andy Parkins <andyparkins@gmail.com> wrote:\n> Hello,\n\n>\n> http://gitorious.org/git_blogger\n>\n\nYou may want to have a look at toto ( http://github.com/cloudhead/toto )\ngit + github + herokou + markdown + txt store\n"},{"id":"142016","messageId":"ht5huo$nd1$1@dough.gmane.org","threadId":"23858","inReplyTo":"AANLkTilpaRyrIgHN5eK_jRFJoukOSYlyEMwU1-LdGT0K@mail.gmail.com","subject":"[ot] Re: gitblogger","fromName":"Andy Parkins","fromEmail":"andyparkins@gmail.com","sentAt":"2010-05-21T08:57:57Z","receivedAt":"2010-05-21T08:57:57Z","isPatch":false,"sender":{"key":"andyparkins@gmail.com","avatar":null},"body":"Ping Yin wrote:\n\n>> http://gitorious.org/git_blogger\n>>\n> \n> You may want to have a look at toto ( http://github.com/cloudhead/toto )\n> git + github + herokou + markdown + txt store\n\nMaybe I've misunderstood, but isn't this just a similar thing to ikiwiki?  I \nrealise it's not a full wiki, but this toto still requires self-hosting of \nthe blog?\n\nI really wanted to be able to make someone else (Google) do the hosting for \nme, but still be able to use lovely txt + git.\n\nThe advantage (to me) of gitblogger was that it was simple: one post-receive \nhook, and only needed installing on the one central server.\n\n(Regardless, my point was only to give some feedback and encouragement (and \nthanks) to the developers who add these features.  To show that their work \nis being used and is appreciated.  gitblogger is just a script I wrote for \nme, and published in case it was useful to someone else)\n\n\n\nAndy\n\n-- \nDr Andy Parkins\nandyparkins@gmail.com\n"},{"id":"142021","messageId":"AANLkTinN37ee6_gfsQqSajoYPAbq7GEaFf93L4dNiVYo@mail.gmail.com","threadId":"23858","inReplyTo":"ht5huo$nd1$1@dough.gmane.org","subject":"Re: [ot] Re: gitblogger","fromName":"Ping Yin","fromEmail":"pkufranky@gmail.com","sentAt":"2010-05-21T10:24:38Z","receivedAt":"2010-05-21T10:24:38Z","isPatch":false,"sender":{"key":"pkufranky@gmail.com","avatar":"https://avatars.githubusercontent.com/u/5346?v=4"},"body":"On Fri, May 21, 2010 at 4:57 PM, Andy Parkins <andyparkins@gmail.com> wrote:\n>\n> Ping Yin wrote:\n>\n> >> http://gitorious.org/git_blogger\n> >>\n> >\n> > You may want to have a look at toto ( http://github.com/cloudhead/toto )\n> > git + github + herokou + markdown + txt store\n>\n> Maybe I've misunderstood, but isn't this just a similar thing to ikiwiki?  I\n> realise it's not a full wiki, but this toto still requires self-hosting of\n> the blog?\n\nYes, it requires self-hosting. However, you can host it to heroku for free.\n\n>\n> I really wanted to be able to make someone else (Google) do the hosting for\n> me, but still be able to use lovely txt + git.\n>\n\nI think your solution is great too.\n"},{"id":"142046","messageId":"m3zkztqmhb.fsf@localhost.localdomain","threadId":"23858","inReplyTo":"AANLkTilpaRyrIgHN5eK_jRFJoukOSYlyEMwU1-LdGT0K@mail.gmail.com","subject":"Re: gitblogger","fromName":"Jakub Narebski","fromEmail":"jnareb@gmail.com","sentAt":"2010-05-21T15:54:59Z","receivedAt":"2010-05-21T15:54:59Z","isPatch":false,"sender":{"key":"jnareb@gmail.com","avatar":"https://avatars.githubusercontent.com/u/2706?v=4"},"body":"Ping Yin <pkufranky@gmail.com> writes:\n> On Fri, May 21, 2010 at 1:29 AM, Andy Parkins <andyparkins@gmail.com> wrote:\n> >\n> > http://gitorious.org/git_blogger\n> >\n> \n> You may want to have a look at toto ( http://github.com/cloudhead/toto )\n> git + github + herokou + markdown + txt store\n\nCould you please add information about those projects to Git Wiki:\nhttp://git.wiki.kernel.org/index.php/InterfacesFrontendsAndTools\n\nThanks in advance\n-- \nJakub Narebski\nPoland\nShadeHawk on #git\n"}]}