lørdag den 6. juni 2009

Parsing xml

So I have updated the video add section so that videos are automatically resized to 450 * relativeheight. This required parsing of the html/xml the user supplies, and I chose only to allow, attributes and tags that are needed to show the embed (embed, object and param tags).

I am going to mess around with this a bit in order to make sure that hostile input is filtered correctly.

Ingen kommentarer: