Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

How does 'Select Code to Download' Work?

by SiteDocClan (Initiate)
on Jul 16, 2007 at 20:32 UTC ( [id://626918]=sitefaqlet: print w/replies, xml ) Need Help??

How does 'Select Code to Download' Work?

The 'Select Code to Download' feature is available via a link labeled Select in a bar immediately below a node containing multiple <code> blocks. It appears in a line which looks like the following:

Select or Download Code — Send private /msg to Paco

Note, again, that the Select link only appears if the node being displayed contains more than one <code> block.

When you click on the Select link, you are taken to a page which allows you to select one or more of the code blocks from the source node. Each code block has a checkbox next to it. You check all the ones you want to download in one operation, then click the 'Download Selected Code' button. The result is plain text page (MIME type text/plain) containing the text of all the code blocks you selected. If you selected more than one, they will be separated in the resulting page by lines of the following text:

##</code><code>##
Note: if you click the button with none of the checkboxes checked, it will be the same as if you had all of the checkboxes checked.

Each code block also has a link next to it, "download this", which is just like the [download] links which appear on the main node display beneath each code block.

Show inline code blocks? What's that about?

The effect of setting this setting is that "inline" code strings will also be included in the list of code blocks available for download in this page.

This is a sticky user configuration setting. That is, when you check or clear the checkbox and click 'stumbit', PerlMonks remembers the setting.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (4)
As of 2024-03-19 08:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found