2009-02-24
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
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
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.
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
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:
- RTMP open source and RTMP protocol [Open Source Flash]
- RTMP protocol [Gnash Project wiki]
- AMF object spec - describes a format of data objects passed inside RTMP connection
- RTMP protocol flavours - lists various flavours of the protocol: RTMP, RTMPT, RTMPS, MRTMP, …
- RTMP protocol, handling and downloading [Zen of Linux]
Downloading RTMP streams (let me know if they work ok for you):
- rtmpdump [C++, open source (GPL)] - a small, nice utility developed by Andrej Stepanchuk (based on the libRTMP library from XBMC media player)
- “get_iplayer gets High Quality Flash BBC iPlayer RTMP Downloading Capability” - uses rtmpdump for downloading RTMP from iPlayer.
- How to record RTMP flash video streams using Red5 [Java] - describes Java code to use with libraries from Red5 in order to record RTMP.
- How to record rtmp:// flash video - a list of tools for recording RTMP streams. (*)
(*) tools in that list are Windows only and closed source (= will not help in improving RTMP support in other tools).
Libraries:
- RTMPy [Python, MIT license] is a Twisted protocol for RTMP
- RTMP library [C++, GPLv2] from XBMC media player
- ToDo list for a C++ RTMP Server mentions “pull out a C++ RTMP Client library from the present sources for stand-alone use” as one of the tasks for volunteer contributors.
- libcurl - there is an open ticket about adding RTMP support
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
Choosing VIM Color Scheme
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?
captsolo weblog
See also:
- My homepage (captsolo.net)
- @CaptSolo on Twitter
- FriendFeed profile
<< Previous Page :: Next Page >>
| 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
|
Categories
Archives
- June 2010 (1)
- October 2009 (1)
- March 2009 (2)
- February 2009 (4)
- January 2009 (2)
- December 2008 (2)
- November 2008 (5)
- October 2008 (10)
- August 2008 (1)
- July 2008 (4)
- June 2008 (1)
- May 2008 (5)
- More...
- more...



