Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: POD: embedding/linking/displaying html and images on metacpan and github

by Corion (Patriarch)
on Mar 18, 2019 at 13:40 UTC ( [id://1231390]=note: print w/replies, xml ) Need Help??


in reply to POD: embedding/linking/displaying html and images on metacpan and github

For me, linking to (external) links works using the protocol (https:// in this case):

L<https://rt.cpan.org/Public/Dist/Display.html?Name=WWW-Mechanize-Chro +me>

Linking to (external) images still works, as exhibited by Spreadsheet::WriteExcel:

=begin html <center> <img src="http://homepage.eircom.net/~jmcnamara/perl/data_validation.j +pg" alt="The output from the above example"/> </center> =end html

So, it seems that Emacs::PDE fell prey to the changes in the POD renderer, but things should be fixable. If you want to use dist-relative https:// links, I think you can use the following as the target:

L<https://metacpan.org/pod/distribution/Emacs-PDE/lisp/doc/pde/index.h +tml> - PDE User Guide

... but MetaCPAN doesn't seem to render the HTML files as HTML, which I suppose is an anti-spam measure.

Replies are listed 'Best First'.
Re^2: POD: embedding/linking/displaying html and images on metacpan and github
by LanX (Saint) on Mar 18, 2019 at 13:55 UTC
    > L<https://metacpan.org/pod/distribution/Emacs-PDE/lisp/doc/pde/index.html> - PDE User Guide

    Well ... my aim was to write multi-file hypertext which renders well on disk, metacpan and github.

    Your solution will link from local or github to metacpan.

    My imagined solution would be a distribution relative path inside L<>

    I thought I saw this already in the past, i.e. Module PODs linking to other internal pages generated from POD (expample, tutorial, tests, ...)

    Maybe this could be fixed by introducing a new scheme, something like dist: or relative: ?

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1231390]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2024-04-19 17:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found