
This post is technical, I’ve been told
Well, the wp-melative reflection thing works decent for now. Though, there will be comment support etc in the future, I think a good start is to be able to import reflections into a blog. For myself and Aloe Dream, I am using the source at rss.melative.com/user/aloe/reflections/anime.
In any case, I am using a small RSS retriever since URL file access is disabled, as well as XSL transform, which are very quick in php5+libxsl+libxml2 (not that that means anything). Let’s get to it, here are the files, all two of them:
File 1, the php
File 2, the xsl
The php does pose some problems, DOMDocument::load is not catchable in php. I believe this is due to it being a module function (libxml2 or so). But, since the RSS is the result of an XSL transform on the melative.com server, it should parse properly.
The great part about this is that the php only has two configurations, $cacheTime and $rssFile. After setting those, it is only a matter of changing the XSL to get full customizability. The shorthand, there is no programming needed to modify the output of wp-melative.
For customization, I personally recommend XSL output with specific id and class names, then it is only a matter of adjusting CSS styles and/or javascript interactivity. The result has good modularity; I like it.
That’s my post.
Ryan A
[...] a couple months back, I posted about wp-melative, and in the code I was using a “socket download” since, the opening of URI has been [...]