This is just a HTML parser in Java. Or call it a XML parser which can support HTML elements. It can at least support html with correct syntax or a bit of syntax error. I tried to make it easy to use.
Use example:
Parser parser = new Parser();
parser.ignoreUnmatchedClosingTag = true;
parser.ignoreUnmatch
This is not something difficult. However, I didn't find this after browsing hundreds of webpages.
It is simply http://graph.facebook.com/$fid/picture. The $fid is the facebook id.
The usage is simply < img src="http://graph.facebook.com/$fid/picture" />
Here is the result of me:
After several hou
Recently, a requirement about display images using JS came to me.
The requirement is like: in a div, display 3 images. After 6 seconds, display 3 other images. The problem is: the images have to go across the Internet, and the end user will wait when the images are loading.
And I came w
This is a result of several hours' hard-wording, so please keep my name there if possible when you are using it.
Test case:
echo htmlEscape(closeHtmlTags("<a>a")).'<br />'; // should be closed.
echo htmlEscape(closeHtmlTags("<_a>a")).'<br />'; // _a is not a valid ht
Have a dynamic website already? Want to add new information frequently? And - want to let the search engine and user know the updating of the website?
RSS is a good choice.
To give a hyperlink to RSS page is one choice.
In IE 7 after, there is a "Feed" button on the top. That one is surely mo
I was working on a project which requires me to format a html page with CSS to enable a running sequence of a nested ordered list. As far as I concern, HTML and CSS does not provide the format look like in the word doc. I tried to search from the internet but there is no suitable
- 2012
- 2011
- 2010
