Quantcast

Forums | MacLife

You are not logged in.

#1 2009-06-25 4:24 pm

resedit
Chicken Little
Royal Wombat
From: /dev/null
Registered: 1999-11-01
Posts: 50362
Website

Feel like breaking something ??

I'm starting to work on new blog.

Write now, just working on getting the BBCode (pecl module, not script) translation robust - and by robust, I mean W3C valid.

http://www.clfsrpm.net/blogDevel/playground.php

It's a textarea input box, after putting in bbcode using the tags defined at http://www.clfsrpm.net/blogDevel/codes.php and hitting submit, it then chews it and spits out the results below the textarea.

I've fixed a lot of issues but undoubtedly many more exist.

Validation issues are one thing, but the biggest issues are the issues that would break xml.

The layout isn't of concern to me, I mostly only care about the bbcode translation.

Thanks for anyone who wants to play with it and find where it is broken.

Source files are linked for those interested.


In her right hand Jenny held the Bible of her mother
Jenny had a pistol in the other
-- Steve Taylor

Offline

 

#2 2009-06-26 5:39 am

resedit
Chicken Little
Royal Wombat
From: /dev/null
Registered: 1999-11-01
Posts: 50362
Website

Re: Feel like breaking something ??

I added a bbcode button type thing, still needs some work as it's not CSP compliant.
What I want to find (or write) is a class/function that fixes unclosed bbcode.


In her right hand Jenny held the Bible of her mother
Jenny had a pistol in the other
-- Steve Taylor

Offline

 

Board footer

Powered by PunBB 1.2.6
© Copyright 2002–2005 Rickard Andersson