Date post: | 18-Jan-2016 |
Category: |
Documents |
Upload: | elmer-freeman |
View: | 218 times |
Download: | 0 times |
Wiki and Blogs
Ashish Mahabal
Ay/Bi 199b
29 Mar 2011
Which Wiki?
• Many to choose from• pmwiki
–Patrick R Michaud–http://www.pmwiki.org/
Wiki markup
Raw
Transformed
PQ wiki
pmwiki latest stable 2.2.25local/config.php$DefaultPasswords['admin'] = crypt('SomeAdminPassHere');$DefaultPasswords['edit'] = crypt('SomeEditPassHere');
http://www.astro.caltech.edu/quest/pmwiki/pmwiki.php
A few wiki engines
• MediaWiki (http://www.mediawiki.org)• PmWiki (http://www.pmwiki.org)• MoinMoin (http://moinmo.in)• Twiki (http://twiki.org)
Creole: (http://www.wikicreole.org)The lightweight markup language for formatting wikitext. It
is aimed at being a common markup language for wikis to enable simple transfer of content between different wiki engines. (See also http://wiki.wikicreole.org)
Blogs
• Blogspot (http://www.blogger.com)• Wordpress (http://wordpress.org)• TypePad (http://www.typepad.com/)• Movable Type (http://MovableType.com)• …
Vlogs, audio blogs, diary, groups, blogsphere, …
RSS feeds, subscribing, …
Using Yahoo Pipes
Using APIs (Application Programming Interface)
• Each blogspot blog has an associated number. My movies blog, for instance, has the number 31487588. It can be seen when you post a new item in your blog. You can obtain the xml for your blog using that number and some utility like wget or curl:
• wget http://www.blogger.com/feeds/31487588/posts/default
This gives you a few of the last entries
To get a large number of, or all, entries, use something like:
wget http://www.blogger.com/feeds/31487588/posts/default?max-results=20000
For getting entries between two dates, use the following format:
wget http://www.blogger.com/feeds/31487588/posts/default?published-min=2008-03-16T00:00:00&published-max=2009-03-24T23:59:59
To get those with specific labels e.g. "action", do:
wget http://www.blogger.com/feeds/31487588/posts/default/-/action/
Modify/reformat the XML
esci 101 from before
• http://esci101.wordpress.com
• http://esci101.wiki.zoho.com
http://wiki.squeak.org/swiki/15