I documented some perl files with POD and made a webpage with pod2html. Is it possible to set a favicon to that?
=pod
=encoding UTF-8
=begin pod2html
<link rel="..." type="..." href="/...">
=end pod2html
=cut
But there is nothing in my html file about this favicon.
And where have I put this image to? Is it possible to put it in the perl file directly?
Using a little batch script:
sed -i '/<title/a <link ... ' my_html.htmlwould work too, but then sed adds a line after all title tags.If you use
$1instead ofmy_pod_file.pland$2instead ofmy_html.html, you can call your script like./my_script my_pod_file.pl my_html.html.Instead of "sed" you can use "ed":
Thanks to ubuntuusers.de