about semantic web, software architecture and life in general

2009-02-24

Permalink 15:43:51, Categories: Semantic Web   English (EU)

Redland Python bindings on Mac OS X

If you need to install Redland Python bindings on Mac OS X then one of the ways is to use MacPorts:

sudo port install redland-bindings +python25

It is just one command and all dependencies will be installed automatically. (Though I usually install python25 with a separate command)

There is a cost to this because MacPorts would compile its own version of Python and as a result the installation might take a while. This is due to MacPorts policy to install all the prerequisites.

Context: I was having issues installing Redland Python bindings on Mac OS X and it seemed that nobody around me had them working either. MacPorts turned out to be the easiest way to do this.

See also:

2009-02-18

Permalink 22:17:47, Categories: Semantic Web   English (EU)

Extended WordPress SIOC Exporter

Claudia has extended our WordPress SIOC exporter and written up a nice report about it: Extended WP SIOC Exporter

She gave her permission to republish this report over here and would be happy to get your feedback.

I extended Uldis Bojars WP SIOC exporter to also export semantic metadata which are embedded in the HTML content of a Posting.

Why is this useful?

Semantic metadata embedded in the HTML of a posting’s content can reveal more information about the topic of a posting (i.e. about what a posting is about). Tools such as Structured Blogging (http://structuredblogging.org) or the Semantic Reblog prototype I am working on, embed semantic metadata directly into the HTML content of postings.

The WP SIOC Exporter relates at the moment the whole plain text of a post’s content with the resource representing the posting itself via the sioc:content property. The html representation of the post’s content is related with the resource representing the post via the content:encoded property. Additionally links are extracted from the post’s content and related with the post via the sioc:links_to property.

My extended version of the exporter also extracts images from posts’s content and relates them via the sioc:embeds property with the resource representing the post. If the image is a flickr image an rdf:seeAlso link is generated that points to the RDF description of the image obtained via Masahide Kanzaki’s  wrapper. Furthermore semantic metadata,  which are embedded in the HTML content of a post, are extracted and relate with the post via a sioc:embeds property. I am not sure if sioc:embeds is the best  property to relate the embedded entities with its container post. Maybe something like sioc:topic would be better. However the URI of the embedded resources are related with the post URI and the parts of the resource description, which has been embedded, are also exposed (because if only parts of a resource’s description are reused or embedded in a post’s content, it might be also interesting for machines to know which parts have been reused/embedded in the posting and if the reused/embedded resource is described via microformats, it might not have an URI which identifies the resource).

I use the ARC2 library (version from 2009-02-12 -> it is important to use this version or higher) which provides a parser to extract different embedded semantic metadata formats such as RDFa, eRDF and MF. I modified the method declaration of the toRDFXML method in the ARC2_Class.php file . Thats why at the moment “my” version of the ARC2_Class.php must be included to the SIOC Exporter arc folder. But Benjamin already told me that the modification will be included in the next ARC2 version.

If you fancy to test this version of the WP SIOC Exporter, download it here.

Any thoughts are of course welcome!

2009-02-08

Permalink 02:32:00, Categories: Technology   English (EU)

Del.icio.us URL change

The URL of del.icio.us bookmarking service has changed. Since September 2008 instead of the fancy “name-hack” (del.icio.us) they use something easier to write: delicious.com.

duh.lic.io.us slide from MacWorld 2006

Photo: a slide from MacWorld 2006 presentation “The Podcast Economy” by Chris Pirillo.

I noticed the new re-design (see Screen Shots And Feature Overview of Delicious 2.0 Preview) but did not pay attention to the URL until someone mentioned it.

Are you using Delicious? Via a website or using some additional software?

2009-01-19

Permalink 23:15:00, Categories: Software Development, Technology   English (EU)

RTMP: Flash video streaming protocol

Real Time Messaging Protocol (RTMP) is a proprietary protocol developed by Adobe Systems for streaming audio, video and data over the Internet, between a Flash player and a server.

This protocol is used by a number of well known sites such as BBC iPlayer, Hulu and videolectures.net.

My interest about this protocol is in being able to save streamed video for later viewing (while sitting in a cafe or traveling). Most of popular open source video players and tools currently do not support RTMP, be it for playing video or downloading the video stream.

Here are pointers to information that I could find:

RTMP protocol:

Downloading RTMP streams (let me know if they work ok for you):

(*) tools in that list are Windows only and closed source (= will not help in improving RTMP support in other tools).

Libraries:

Re. RTMPy it was not clear to me how to use it for the task at hand.

Interesting applications:

  • radio2daap [Erlang, open source (MIT license) - expose on-demand flash radio as an iTunes shared library
  • XBMC [open source (GPL) ] - a fully functional media player application with RTMP support.
    But how do you use it to record a RTMP stream? (e.g., this video from ISWC08)

With regard to standalone applications there are RTMP streaming servers (e.g., Red5) but we may have to wait a little further before protocol support appears in media players like mplayer and VLC, or in libraries such as libcurl.

What is your experience in working with / playing / recording of RTMP media streams?

2009-01-08

Permalink 19:28:55, Categories: Linux, Software Development, Technology   English (EU)

Choosing VIM Color Scheme

screenshot of VIM color schemes

VIM Color Scheme Test shows VIM in >300 different color schemes. There’s a lot to choose from.

I currently use MacVim and its default color scheme. Will need to find a good color scheme to use in the fullscreen mode (Cmd-Shift-F). I had a custom scheme installed in Komodo Edit but I have not used this editor in a while.

What are your favorite code editors / IDEs and what color schemes do you use?

<< Previous Page :: Next Page >>

captsolo weblog

See also:

<< Previous Page :: Next Page >>

September 2010
Mon Tue Wed Thu Fri Sat Sun
 << <   > >>
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30      

Search

Gallery

www.flickr.com
captsolo's items Go to captsolo's photostream

Misc

Syndicate this blog XML

powered by
b2evolution
Page served in 0.64 seconds

Valid XHTML 1.0! Valid CSS! Valid RSS! Valid Atom!