b2print enhancement

Minor enhancement to the b2print.php script, which creates a printable version of a post. I’ve modified the make_url_footnote function found in b2-inc/b2functions.php to generate BR-ized output, with URL footnotes at the bottom. The modifications were minor, basically taking out a line that did a strip_tags() on the content, and putting in some formatting on the footnotes. Also, the preg_replace regexes were changed to be case-insensitive, because of Amazon constructed links.

I wanted to get footnoted URLs in the printable version because, well, you’re presumably printing it, but losing the hyperlink information on links when you put the posting on paper.

Comments are closed.