Display Google Calendars on your Mephisto Blog

Gravatar imagePosted by semantosoph on Feb 20, 2010 | 0 comments
Filed under , , , ,

This plugin provides a liquid filter for the mephisto blog engine for inclusion of calendars hosted by Google.

Installation

Installation takes three simple steps.

  1. Run ‘gem install runt’
  2. Download the Plugin from Github and put it into your vendor/plugins folder.
  3. Restart your server.

Usage

This plugin offers you a liquid filter. You may call this filter from every liquid template. Provide the liquid filter call with the private url of your calendars ical file. The number at the end specifies the number of items you may get. Example:

{{ 'https://www.google.com/calendar/ical/your.user.name/private-xxxxxxxxxxxxxxxxxxxxxxxxxxxxx/basic.ics' | gcal_shortlist, 7 }}

Augmented Bing Maps

Gravatar imagePosted by semantosoph on Feb 15, 2010 | 0 comments
Filed under , ,

The video of Microsoft’s Bing Maps augmented reality demo at the TED conference last week shows how they integrate Flickr imagery, indoor panoramas, Worldwide Telescope and even live videos to allow a really impressive time travel for certain places.

“We see this space, three-dimensional environment as being a canvas on which all sorts of applications can play out,” said Bing Maps’ Blaise Aguera y Arcas.

A userlogin plugin for mephisto 0.8.2

Gravatar imagePosted by semantosoph on Jan 28, 2010 | 0 comments
Filed under , , , ,

This little plugin provides you with a protected area for your users on your mephisto blog. Its built to use engines compatible mephisto available in the mephisto version 8.2.

To install this plugin, run:

script/generate plugin_migration
rake db:migrate RAILS_ENV=production

This will make some changes to your production database and will expose a new Userlogin tab to your Mephisto administration interface. From there you can create new userlogins. When creating new userlogins provide a username and a password (Attention! This is designed for ease of use and easy remebering. The passwords are NOT ENCRYPTED! Don’t use this for really important stuff) along with some sites you like to provide inside of the protected area.

You need to create a liquid template for every site you list as protected. So, if you list “family_gallery” as a protected site, you need to create a template called “family_gallery.liquid”. This page will be available at http://yoursite.com/protected/family_galery. The page http://yoursite.com/protected will show a login form (if not logged in) or the conten of “protected_index.liquid” (otherwise).

Ambiguity madness

Gravatar imagePosted by semantosoph on Nov 19, 2009 | 0 comments
Filed under ,

Coding in hastiness combined with a limited vocabulary late at night will certainly result in comprehension difficulties at the very next morning:

<%= "#{t("role.role")}" %>: <%= "#{t("role."+role.role)}" %>

Kids, don’t try this at home.

Inference on the Semantic Web

Gravatar imagePosted by semantosoph on Nov 05, 2009 | 0 comments
Filed under , , ,

This is a very informative slideshare on inference and the power of the Semantic Web. To emphasize the potential of the Semantic Web, Myungjin Lee used RDF and OWL constructs to represent the statements of his slides. Very impressive, though.