Re: [Avogadro-devel] Migrating Wiki to GitHub Pages
It's worth noting that if you want to keep the wiki functionality but move it into GitHub, you can also clone the repo wiki and alter it that way: git clone https://github.com/user/reponame.wiki.git Also, if you can get the Mediawiki markup out of the XML, you can convert that to GitHub-flavoured markdown (as well as a bunch of other formats) with pandoc, which would work for either the GitHub wiki, or the Jekyll-based pages. Something like a combination of pandoc and the CPAN MediaWiki::DumpFile::Pages package might do the job, though it'd probably require some checking and clean-up; the translation probably won't be *perfect*. -Ian On 16 October 2014 21:33, Geoffrey Hutchison geo...@pitt.edu wrote: Hi everyone, Despite the low level of action, I’ve been spending a lot of time *thinking* about Avogadro and the future. There are quite a few exciting things, although it may take a while before they fully appear. One thing I can talk about is pushing for tutorials and manuals. The University of Pittsburgh is putting money and student-power towards improving tutorials and manuals for Avogadro. We’re converting from a proprietary program to Avogadro over the next two years. So we’ll be putting up workflows, learning exercises, etc. One thing I'm considering is moving away from MediaWiki. It's insecure and spammy. The whole point was to let people easily edit the pages, and that doesn't work now. I'm open to suggestions, but I'd like to suggest GitHub pages. These are generated from a repo, so it's easy to add a pull request to modify them, translate, etc. As static pages, they're easier to package and distribute too. One catch is converting from MediaWiki to Jekyll, so if someone can help with that, eg parsing the XML dump, please let me know. Thoughts? Better alternatives? Thanks, Geoff -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://p.sf.net/sfu/Zoho ___ Avogadro-devel mailing list Avogadro-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/avogadro-devel -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://p.sf.net/sfu/Zoho ___ Avogadro-devel mailing list Avogadro-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/avogadro-devel
Re: [Avogadro-devel] Migrating Wiki to GitHub Pages
On Thu, Oct 16, 2014 at 4:33 PM, Geoffrey Hutchison geo...@pitt.edu wrote: Hi everyone, Despite the low level of action, I’ve been spending a lot of time *thinking* about Avogadro and the future. There are quite a few exciting things, although it may take a while before they fully appear. One thing I can talk about is pushing for tutorials and manuals. The University of Pittsburgh is putting money and student-power towards improving tutorials and manuals for Avogadro. We’re converting from a proprietary program to Avogadro over the next two years. So we’ll be putting up workflows, learning exercises, etc. One thing I'm considering is moving away from MediaWiki. It's insecure and spammy. The whole point was to let people easily edit the pages, and that doesn't work now. I'm open to suggestions, but I'd like to suggest GitHub pages. These are generated from a repo, so it's easy to add a pull request to modify them, translate, etc. As static pages, they're easier to package and distribute too. One catch is converting from MediaWiki to Jekyll, so if someone can help with that, eg parsing the XML dump, please let me know. Thoughts? Better alternatives? This sounds good to me, I think being able to issue pull requests would be useful along with easier packaging, offline editing. Marcus -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://p.sf.net/sfu/Zoho ___ Avogadro-devel mailing list Avogadro-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/avogadro-devel
Re: [Avogadro-devel] Migrating Wiki to GitHub Pages
It's worth noting that if you want to keep the wiki functionality but move it into GitHub, Indeed, I think this would be a nice way to separate out *developer* documentation and user documentation. The *dev* documentation can be put into the GitHub repository wiki. Also, if you can get the Mediawiki markup out of the XML, you can convert that to GitHub-flavoured markdown (as well as a bunch of other formats) with pandoc, which would work for either the GitHub wiki, or the Jekyll-based pages. Something like a combination of pandoc and the CPAN MediaWiki::DumpFile::Pages package might do the job, though it'd probably require some checking and clean-up; the translation probably won't be *perfect*. Agreed. If anyone is willing to take a stab, I'd be very grateful. There are a few packages claiming to do this, but they seem very brittle, e.g. https://github.com/clioweb/mediawiki-jekyll http://medialab.di.unipi.it/wiki/Wikipedia_Extractor The latter one (in Perl) definitely works (e.g., from the XML dump) but needs to be hacked to separate things into separate page files. In any case, I'm glad there's some positive reception for this idea. It might be shelved for a bit, and I'm sure it'll need clean-up (e.g., migrating images). Worst case scenario, once Pitt gives me the OK to hire some undergrads, I'll let them loose on this. -Geoff -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://p.sf.net/sfu/Zoho ___ Avogadro-devel mailing list Avogadro-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/avogadro-devel
Re: [Avogadro-devel] Migrating Wiki to GitHub Pages
OK, a first pass is here: https://github.com/AvogadroChem/AvogadroChem.github.io e.g. https://github.com/AvogadroChem/AvogadroChem.github.io/blob/master/features.md This includes all the images I could grab, although I'm sure there are errors. It's not a functioning site yet, but if someone has worked with Jekyll or GitHub Pages before, please send me an e-mail so we can get something up and running. Also, thanks to those who wrote off-list about educational use. I might start a separate e-mail list for that, but I think we can coordinate to get some really nice exercises up for everyone to use. -Geoff -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://p.sf.net/sfu/Zoho ___ Avogadro-devel mailing list Avogadro-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/avogadro-devel
Re: [Avogadro-devel] Migrating Wiki to GitHub Pages
To reiterate what Ian said, I think that pandoc + maybe a shell script will get you most of the way there. If you have the XML, you can try (untested): pandoc -f mediawiki -t markdown file.xml (f is “from”, t is “to) I also just tried parsing a URL directly and it’s not bad. This works decently well: pandoc -f html -t markdown http://avogadro.cc/wiki/Tutorials:Getting_started Regarding Jekyll / Liquid, I don’t think the AvogadroChem.github.io approach is the way to go. There’s a little wiki button to the right of any github repo (ex. d3’s wiki https://github.com/mbostock/d3). My vote is to start with an official avogadro git repo (https://github.com/cryos/avogadro maybe?), git clone cryos/avogadro.wiki.git, dump in pandoc markdown, and then review the contents. Regards, Pat On Fri, Oct 17, 2014 at 12:30 PM, Geoffrey Hutchison geoff.hutchi...@gmail.com wrote: OK, a first pass is here: https://github.com/AvogadroChem/AvogadroChem.github.io e.g. https://github.com/AvogadroChem/AvogadroChem.github.io/blob/master/features.md This includes all the images I could grab, although I'm sure there are errors. It's not a functioning site yet, but if someone has worked with Jekyll or GitHub Pages before, please send me an e-mail so we can get something up and running. Also, thanks to those who wrote off-list about educational use. I might start a separate e-mail list for that, but I think we can coordinate to get some really nice exercises up for everyone to use. -Geoff -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://p.sf.net/sfu/Zoho ___ Avogadro-devel mailing list Avogadro-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/avogadro-devel -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://p.sf.net/sfu/Zoho___ Avogadro-devel mailing list Avogadro-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/avogadro-devel
Re: [Avogadro-devel] Migrating Wiki to GitHub Pages
I turned on wiki and issues for the repo if that helps. The GitHub wikis are backed by git, and have editing facilities built in, so that might be the easiest (I haven't used the GitHub wikis much, but willing to give it a try). Marcus On Fri, Oct 17, 2014 at 1:47 PM, Patrick Fuller patrickful...@gmail.com wrote: To reiterate what Ian said, I think that pandoc + maybe a shell script will get you most of the way there. If you have the XML, you can try (untested): pandoc -f mediawiki -t markdown file.xml (f is “from”, t is “to) I also just tried parsing a URL directly and it’s not bad. This works decently well: pandoc -f html -t markdown http://avogadro.cc/wiki/Tutorials:Getting_started Regarding Jekyll / Liquid, I don’t think the AvogadroChem.github.io approach is the way to go. There’s a little wiki button to the right of any github repo (ex. d3’s wiki). My vote is to start with an official avogadro git repo (https://github.com/cryos/avogadro maybe?), git clone cryos/avogadro.wiki.git, dump in pandoc markdown, and then review the contents. Regards, Pat On Fri, Oct 17, 2014 at 12:30 PM, Geoffrey Hutchison geoff.hutchi...@gmail.com wrote: OK, a first pass is here: https://github.com/AvogadroChem/AvogadroChem.github.io e.g. https://github.com/AvogadroChem/AvogadroChem.github.io/blob/master/features.md This includes all the images I could grab, although I'm sure there are errors. It's not a functioning site yet, but if someone has worked with Jekyll or GitHub Pages before, please send me an e-mail so we can get something up and running. Also, thanks to those who wrote off-list about educational use. I might start a separate e-mail list for that, but I think we can coordinate to get some really nice exercises up for everyone to use. -Geoff -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://p.sf.net/sfu/Zoho ___ Avogadro-devel mailing list Avogadro-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/avogadro-devel -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://p.sf.net/sfu/Zoho ___ Avogadro-devel mailing list Avogadro-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/avogadro-devel -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://p.sf.net/sfu/Zoho ___ Avogadro-devel mailing list Avogadro-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/avogadro-devel