Update.Arul's Blog: Quick Blog Viewer Alpha for My Blog.
Browsing my blog should be lot more easier with this. Here is the alpha version of my Quick Blog Viewer. Since the day one I'm thinking about creating a flash based easy to use interface for quick overview of my entire blog, only today I'm able to come up with something functional. :)
I'm using this XML xml file for the data. You might have noticed that I'm always using "Topic.Software: Title" syntax for the heading, it is for this purpose only :)
It is just functional right now, I will improve it soon. I love to have your comments regarding this interface.
There is an interesting thread in Flash-DB which is discussing the various possibilities of passing data to flash from PHP. The attractive part in that to me is using AMF(Action Message Format - binary format for sending Flash Objects) with PHP.
Musicman has come out with this PHP class which can construct the AMF data. Alessandro(sephiroth) has put a sample application using this class.
What I fore see is by combining Nik Kilani's xml based PHP remoting solution (by taking the code which calls the PHP functions and converts the result into XML data, and changing it to serialize it as AMF data) we can make the PHP Flash Remoting Dream come true. :)
posted by Arul
| link
|<prev. | ^top
| next> |
comments [2]
Wednesday, January 22, 2003
Tips.Flash MX: XML Pre Processing for handling XML.
When we want to handle external Html files as XML, say for example using my transformTags() code, we face the problem of unclosed tags like <br> tag. To fix this problem we can overwrite onData method of XML object as shown below. It basically replaces all <br> tags with <br/> before parsing the XML data
//fix the BR tags by closing
XML.prototype.onData = function(txt) {
txt = txt.split("<br>").join("<br/>");
txt = txt.split("<BR>").join("<br/>");
this.parseXML(txt);
};
/*
//sample code
my_xml = new XML();
my_xml.load("BrFix.xml")
//BrFix.xml contains "<b>my name is<br> arul</b>"
trace(my_xml.status);
//traces 0
trace (my_xml.toString());
//traces "<b>my name is<br/> arul</b>"
*/
Due to some problem with ISP this blog was down for about a weeks time. Now that problem is solved so I'm back again. :)
Because of my new job the frequency of update will be less for a while but you can be sure that I will continue to serve as I did before.
posted by Arul
| link
|<prev. | ^top
| next> |
comments [1]
Wish you all very happy and prosperous New Year 2003! :) Here is my tiny gift for the new year, transformTags basically allows you to add, remove, and modify tags in any valid XML.
You can take a look and download the source code from here!
For more usage examples take a look at my previous posts. I will also try to put more examples.
posted by Arul
| link
|<prev. | ^top
| next> |
comments [1]
footnote:-
Also check the recent entries
and feel free to add your comments. I need your comments to improve this blog