Converting a Snip
I need to convert my snipsnap snips to wordpress. I therfore need to consider the following things.
- HTML Objects
- Line Throws
Headings, lines start with “1 ” or “1.1”, the ones need to be H3, or the title, and the onedotone need to be H3 or H4, depending on how the one is treated and if there is one.
These take the following format
The anchor text is between the colon and the pipe, the URL is between the pipe and the last ‘}’. I need to extract the anchor and the URL and generate an anchor tag.
‘< a =HREF=”‘ + $hyperlink + ‘”>’ + $anchortext + ‘</a>’
Don’t forget about the img decorations for the hyperlink.
Don’t forget about the name only anchors!