Lonny's blog

Lonny's picture

Finally a working mediawiki sitemap

This is a follow up to Making a sitemap (opensource documentation wild goose chase).

So, thanks to the OLPC folks, we finally have a working google-compliant sitemap. The code below is adapted from http://wiki.laptop.org/go/SEO_for_the_OLPC_wiki/sitemapgen. Here are some notes about the implementation:

  1. Save the code as makesitemap.sh on the root directory (appropedia.org/)
  2. Add executing permissions to the file, by typing chmod u+x makesitemap.sh
  3. Run it from the site root by typing sh makesitemap.sh, or even better run using cron.

#I had to download a new version of generatesitemap.php from http://www.mediawiki.org/wiki/Manual:GenerateSitemap.php. I was getting a Class 'MWNamespace' error.

Lonny's picture

How to add new tools to your mediawiki toolbar

So you want to extend the toolbar for your mediawiki editors? I know I do. Here is how I did it:

First copy and paste the code at http://www.appropedia.org/MediaWiki:Common.js

Lonny's picture

Four steps to get Google Alerts via RSS

So we have been looking for a way to get Google mentions of Appropedia fed via RSS.

Lonny's picture

Google analytics and socialmedia links in Mediawiki

So the upgrade of MediaWiki (MW) to 1.11 was successful, thanks to Gabe!

Lonny's picture

Making a sitemap (opensource documentation wild goose chase)

This is my first blog entry on Appropedia. Eventually I will make more personal blog entries, but it seems like this will be a good place to chronicle some of the mediawiki fun we get to have.

Syndicate content