Extensions
1 LWP::Simple module
Install the LWP::Simple perl module if not already installed and create a new page with the following code to download and create extension files used in this site:
##{
use LWP::Simple;
foreach("u.plugins", "u.lib", "nonwiki.lib", "wiki.lib"){
local *FH;
open FH, ">$_.txt";
print FH get("https://uniqki.isnew.info/$_.txt");
close FH;
make_html($_);
}
##}
% Leave these tags at the bottom because make_html() above will clear the @tags array in the tag plugin after each file.
::tags:: uniqki, extension
2 LWP::UserAgent module
Install the LWP::UserAgent perl module if not already installed and create a new page with the following code to download and create extension files used in this site:
##{
use LWP::UserAgent;
my $ua = LWP::UserAgent->new(agent=>"Uniqki");
foreach("u.plugins", "u.lib", "nonwiki.lib", "wiki.lib"){
my $response = $ua->get("https://uniqki.isnew.info/$_.txt");
if($response->is_success){
local *FH;
open FH, ">$_.txt";
print FH $response->decoded_content;
close FH;
make_html($_);
}
}
##}
% Leave these tags at the bottom because make_html() above will clear the @tags array in the tag plugin after each file.
::tags:: uniqki, extension