MW

Tag project - page 2

Recent Posts

updated TypoGridder (April 12, 2007)

Yes I know it is pretty darn late but hey - what else are holidays there for? Except learning and partying and dancing and chilling and… well yes I just could not stop until it worked like I wanted it to.

My TypoGridder now works as a MiniTool for Konqueror and as a bookmarklet in Firefox and Opera. It should have the correct height on any page and should be on top of everything. Please test it and report any bugs.

Visit TypoGridder project Page

continue reading...

TypoGridder (April 11, 2007)

I recently read two articles about using grids in webdesign. It just makes sense. Read them yourself:

I’ve wrote a little javascript which displays a basline grid on any page (via bookmarklet). For more information visit the project website.

Please use this article for any feedback.

PS: And as you might see, I have a lot to do to let my website align to any grid. The curse of a layman.

continue reading...

TypoGridder (April 11, 2007)

I recently read two articles about using grids in webdesign. It just makes sense. Read them yourself:

I’ve wrote a little javascript which displays a basline grid on any page (via bookmarklet). For more information visit the project website.

Please use this article for any feedback.

PS: And as you might see, I have a lot to do to let my website align to any grid. The curse of a layman.

continue reading...

html2text.php version 1.3 released (December 24, 2006)

Update: Use Markdownify, it’s the successor to html2text.

I just released html2text version 1.3 which sports a ton of bug fixes. Most notably all features of php markdown extra are now fully supported, including footnotes and abbrevations.

Also wrapping should work like intended and inline links (like <foo@bar.com>) won’t be converted to block links (like [foo@bar.com]([foo@bar.com](mailto:foo@bar.com))).

In the next version I’ll add some more options, especially disabling php markdown extra support. Also I’ll clean up the code a bit.

Merry Christmas to you!

continue reading...

html2text.php 1.1 (July 23, 2006)

Update: Use Markdownify, it’s the successor to html2text.

I changed my html2text.php function and it now supports non markdownable elements better. Previously something like <p class="foobar">...</p> would have resulted in <p>...</p>. Now these elements (which could be ported to markdown) will be left in plain html.

Additionally I made some changes which should lead to an improved performance.

Download

Get it while it’s hot: html2text.php 1.1 (.tar.gz ~ 120.9 KB)

Known Bugs

Yes, there are some, which I’ll try to fix in the next days (note: to better point out the bugs I just write what happens if you convert html to markdown to html):

  • Also if the parent element (e.g. <table>) gets parsed and a child <tr>,<td> or<th> has attributes they will be ignored and dropped. Workaround: Add a attribute to the parent element (e.g. a class / id).
  • If you give a single <li> element in the middle of a list some attributes it wont lose them, but will produce not well formed html:

    <ul><li>abc</li> <li class="foo">bar</li> </ul>
    

continue reading...