mojomojo::formatter::wikipedialink(3pm) [debian man page]
MojoMojo::Formatter::WikipediaLink(3pm) User Contributed Perl Documentation MojoMojo::Formatter::WikipediaLink(3pm)NAME
MojoMojo::Formatter::WikipediaLink - Linked Wikipedia by writing {{wikipedia:<lang> <word>}}
DESCRIPTION
Normally, to hyperlink to the Wikipedia, you'd write:
[wikipedia Hello](http://en.wikipedia.org/wiki/Hello)
This plugin lets you write just
{{wikipedia Hello}}
not just Link to Wikipedia in English page, you can use many languages
{{wikipedia:ja a~XXa~XXa~XXa~XXa~XX}}
{{wikipedia:fr Salut}}
Actually, if you wrote this without a language ex.{{wikipedia Foo}}, select location of Wikipedia Link is getting default-language setting
of MojoMojo.
METHODS
format_content_order
The WikipediaLink formatter has no special requirements in terms of the order it gets run in, so it has a priority of 17.
format_content
Calls the formatter. Takes a ref to the content as well as the context object.
process
Here the actual formatting is done.
SEE ALSO
MojoMojo and Module::Pluggable::Ordered.
AUTHORS
Dai Okabayashi, "bayashi at cpan . org"
LICENSE
This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.14.2 2010-05-23 MojoMojo::Formatter::WikipediaLink(3pm)
Check Out this Related Man Page
MojoMojo::Formatter::Defang(3pm) User Contributed Perl Documentation MojoMojo::Formatter::Defang(3pm)NAME
MojoMojo::Formatter::Defang - Scrub user HTML and XSS
DESCRIPTION
This formatter makes sure only a safe range of tags are allowed, using MojoMojo::Defang; It also tries to remove XSS attempts.
METHODS
format_content_order
Format order can be 1-99. The Defang formatter runs on 16, just after the main formatter, in order to catch direct user input. Defang
trusts the main formatter and all subsequently ran plugins to not output unsafe HTML.
defang_tags_callback
Callback for custom handling specific HTML tags
defang_url_callback
Callback for custom handling URLs in HTML attributes as well as styletag/attribute declarations
defang_css_callback
Callback for custom handling style tags/attributes.
defang_attribs_callback
Callback for custom handling HTML tag attributes.
format_content
Calls the formatter. Takes a ref to the content as well as the context object.
SEE ALSO
MojoMojo, Module::Pluggable::Ordered, MojoMojo::Defang
AUTHORS
Marcus Ramberg <mramberg@cpan.org>
LICENSE
This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.14.2 2010-05-23 MojoMojo::Formatter::Defang(3pm)
This example took form Wikipedia article about AWK:
yes Wikipedia | cat -n | awk 'NR % 4 == 1, NR % 4 == 3' | head -7
The output is:
1 Wikipedia
2 Wikipedia
3 Wikipedia
5 Wikipedia
6 Wikipedia
7 Wikipedia
9 Wikipedia
The question is: ... (2 Replies)
Hi folks,
Any folk has experience on ntop/Nmon
ntop - network top
and its spinoff NMON
Welcome to nmon.net
Nmon
Nmon - Wikipedia, the free encyclopedia
nmon for AIX and Linux Performance Monitoring
IBM Wikis - AIX 5L Wiki - nmon
A free tool to analyze AIX and Linux... (5 Replies)
I need to implement a program that sends CDRs (just some data) over GTP' (GTP Prime - one of the GPRS Tunnelling Protocols, http://en.wikipedia.org/wiki/GPRS_Tunnelling_Protocol).
Does anybody know where I can find GTP implementation? I'v tryed OpenGGSN (http://sourceforge.net/projects/ggsn/), but... (4 Replies)
Can some body please give me a pointer on how i can verify that "Zero-copy" support :
Zero-copy - Wikipedia, the free encyclopedia
is enabled in my kernel or not.
Mine is 2.6.9-42.ELhugemem-i686c
I understand as per docs it should be enabled by default after 2.4 kernel but we get custom... (1 Reply)
I modified some code I found on Wikipedia concerning maps to see if it would work before applying it to a project I'm working on that has a similar idea.
What I would want is for a user to be able to enter sentences and then be able to distinguish how many times a the person entered a word in a... (4 Replies)
According to the Wikipedia entry for Greenpeace, the Greenpeace mission is too:
Catalysing an energy revolution to address the number one threat facing our planet: climate change.
Defending our oceans by challenging wasteful and destructive fishing, and creating a global network of... (1 Reply)
Hello,
Please, is there on unix.com the source code of a client C and server C: as shown in following figure:
File:InternetSocketBasicDiagram zhtw.png - Wikipedia, the free encyclopedia
Thank you so much for help (1 Reply)
Good evening to all!!
I'm trying to become familiar with wget.
I would like to download a page from Wikipedia with all images and CSSs but without going down to all links present in the page. It should be named index.html.
I would like also to save it to /mnt/us inside a new folder.
This is... (5 Replies)
I'm looking for a way to print the 4th line back from a regular expression. Kind of like the below but it has to be the 4th line before the regexp.
Print the line immediately before regexp, but not the line containing the regexp.
sed -n '/regexp/{g;1!p;};h'
here is an example of logs(i... (11 Replies)
Hallo,
I have an general question which happens when installing software by compiling them self. I'm using FreeBSD system 10.0 and the ports. for info, see: http--en.wikipedia.org/wiki/FreeBSD_Ports.
As I installed BSD for some years there was (i.e.) perl-14 installed. Now, when doing some... (1 Reply)
This came to my attention very recently...
I have put it here as a fun item not related to UNIX in any way...
Chudnovsky algorithm - Wikipedia
WOW!
And a great, light hearted 16 minute video about it:
Calculating π by hand: the Chudnovsky algorithm - YouTube
Enjoy... (3 Replies)