Commits

Shlomi Fish committed 8a545e7

Convert most search.cpan.org URLs to metacpan.org.

  • Participants
  • Parent commits 827ba2a

Comments (0)

Files changed (22)

File t2/art/recommendations/music/shlomi-fish-music-recommendations.xml

                         source</a> used to generate this page can be converted
                     to HTML
                     using the <a
-                        href="http://search.cpan.org/dist/XML-Grammar-ProductsSyndication/">XML-Grammar-ProductsSyndication</a> CPAN module.
+                        href="http://metacpan.org/release/XML-Grammar-ProductsSyndication">XML-Grammar-ProductsSyndication</a> CPAN module.
                 </p>
             </desc>
             <prod id="beatles_red_album">

File t2/humour/recommendations/films/shlomi-fish-films-recommendations.xml

     This is a list of films I have watched and can recommend. <a
         href="shlomi-fish-films-recommendations.xml">The source</a> used
     to generate this page can be rendered using the
-    <a href="http://search.cpan.org/dist/XML-Grammar-ProductsSyndication/">XML-Grammar-ProductsSyndication</a> CPAN module.
+    <a href="http://metacpan.org/release/XML-Grammar-ProductsSyndication">XML-Grammar-ProductsSyndication</a> CPAN module.
 </p>
 
             </desc>

File t2/lecture/Perl/Graham-Function/index.html.wml

 #include '../template.wml'
+#include "cpan_dists.wml"
 
 <latemp_subject "Graham’s Function Lecture" />
 
 <li>
 <a href="http://use.perl.org/~Shlomi+Fish/journal/32132">A blog entry</a> I
 wrote about
-<a href="http://search.cpan.org/dist/Math-GrahamFunction/">Math-GrahamFunction</a>,
+<cpan_self_dist d="Math-GrahamFunction" />,
 which is a CPAN module, that is derived from the original code.
 </li>
 </ul>

File t2/lecture/Perl/Lightning/Mojolicious/mojolicious.asciidoc.txt

 
 * Mojolicious - "the Web in a Box!" - http://mojolicious.org
 
-* On CPAN: http://search.cpan.org/dist/Mojolicious/ .
+* On CPAN: http://metacpan.org/release/Mojolicious .
 
 * A self-contained web-development framework that only depends on perl 5 and
 its core modules.
 * Mojolicious seems like a nice try, and I'm happy to get paid writing
 Mojolicious code, but it's still not my pot at the end of the rainbow.
 
-* Some friends told me that http://search.cpan.org/dist/Dancer/[Dancer] is
+* Some friends told me that http://metacpan.org/release/Dancer[Dancer] is
 nice, and it relies on premade CPAN modules.
 ** No first-hand experience with it.
 

File t2/lecture/Pres-Tools/Perl-Point/index.html.wml

 #include '../template.wml'
+#include "cpan_dists.wml"
+
 <latemp_subject "PerlPoint Lecture" />
 
 <p>
 This is a presentation about the PerlPoint slide-show tool. Note that PerlPoint
 is old and old-fashioned, and generates invalid HTML code. If you’re
 interested in a similar but more modern tool look at
-<a href="http://search.cpan.org/dist/Spork/">Ingy’s Spork</a>.
+<cpan_dist d="Spork">Ingy’s Spork</cpan_dist>.
 </p>
 
 <ul>

File t2/me/blogs/index.html.wml

 #include '../template.wml'
 #include "toc_div.wml"
+#include "cpan_dists.wml"
 
 <latemp_subject "My Weblogs" />
 
 <ol>
 
 <li>
-<a href="http://search.cpan.org/dist/XML-Feed/">XML-Feed</a> - a Perl-based
+<cpan_self_dist d="XML-Feed" /> - a Perl-based
 CPAN module to mix, match and manipulate feeds of various formats.
 </li>
 

File t2/me/contact-me/index.html.wml

 <dt>Freecode (formerly Freshmeat)</dt>
 <dd><url_body_link href="http://freecode.com/~shlomif/" /></dd>
 <dt>CPAN</dt>
-<dd><url_body_link href="http://search.cpan.org/~shlomif/" /></dd>
+<dd><url_body_link href="http://metacpan.org/author/SHLOMIF" /></dd>
 <dt>Advogato</dt>
 <dd><url_body_link href="http://www.advogato.org/person/shlomif/" /></dd>
 <dt>Dmoz (Open Directory Project)</dt>

File t2/me/intros/advogato/rev2/index.html.wml

 creator, enthusiast and advocate, hailing from Tel Aviv, Israel. I originated
 and/or maintain <a href="http://www.shlomifish.org/open-source/">a lot
 of open-source software</a> (including many
-<a href="http://search.cpan.org/~shlomif/">CPAN modules</a>),
+<a href="<shlomif_cpan />">CPAN modules</a>),
 wrote some <a href="http://www.shlomifish.org/philosophy/">articles
 and essays</a>,
 authored some <a href="http://www.shlomifish.org/lecture/">material for

File t2/open-source/anti/php/index.html.wml

     <li> <a href="http://www.gnu-friends.org/story/2002/5/29/113829/681">GNU-Friends article by lupo</a> (broken link - parked domain)</li>
     <li> <a href="http://www.tnx.nl/php.html">PHP in contrast to perl</a> systematically points out PHP inconsistencies </li>
     <li> <a href="http://www.joelonsoftware.com/items/2003/10/10.html">Joel on Software</a> mentions PHP’s willful ignorance of character encodings[1] </li>
-    <li> The <a href="http://search.cpan.org/%7Espoon/PHP-Strings/Strings.pm">PHP::Strings</a> perl module will provide much enlightenment </li>
+    <li> The <a href="https://metacpan.org/module/PHP::Strings">PHP::Strings</a> perl module will provide much enlightenment </li>
 </ul>
 
 <p> [1] character encodings are a pain in the neck, but they <i>are</i> necessary </p>

File t2/open-source/bits.html.wml

 #include '../template.wml'
+
 #include "toc_div.wml"
+#include "cpan_dists.wml"
 
 <latemp_subject "Open Source Bits and Bobs" />
 
 
 <p>
 You need to install the
-<a href="http://search.cpan.org/dist/Xmms-Perl/">Xmms-Perl distribution</a>
+<cpan_dist d="Xmms-Perl">Xmms-Perl distribution</cpan_dist>
 and have the X-Chat Perl interface. To use, make it executable and put it
 under your <tt>$HOME/.xchat2</tt> directory.
 </p>

File t2/open-source/contributions/index.html.wml

 E-mail since then.
 </p>
 
-<h2 id="error.pm"><a href="http://search.cpan.org/dist/Error/">The
-Error.pm CPAN distribution</a></h2>
+<h2 id="error.pm"><cpan_dist d="Error" />The
+Error.pm CPAN distribution</cpan_dist></h2>
 
 <p>
 After a long time of neglect by its contemporary maintainer, I adopted this
 </li>
 </ul>
 
-<h2 id="xml-rss"><a href="http://search.cpan.org/dist/XML-RSS/">XML::RSS - a
-CPAN Module for Processing RSS</a></h2>
+<h2 id="xml-rss"><cpan_dist d="XML-RSS">XML::RSS - a
+CPAN Module for Processing RSS</cpan_dist></h2>
 
 <p>
 After running into an XML::RSS bug, I submitted a patch for it, which was

File t2/open-source/projects/File-Dir-Dumper/index.html.wml

 <h2 id="download">Download</h2>
 
 <p>
-<a href="http://search.cpan.org/dist/File-Dir-Dumper/">Download
-File-Dir-Dumper from the CPAN</a>
+<cpan_dist d="File-Dir-Dumper" />Download File-Dir-Dumper from the
+CPAN</cpan_dist>
 </p>
 
 <h2 id="project-links">Project Links</h2>

File t2/open-source/projects/File-Find-Object/index.html.wml

 
 <p>
 File-Find-Object is a CPAN module, which was originally created by
-<a href="http://search.cpan.org/~nanardon/">Olivier Thauvin</a> and
+<a href="<cpan_homepage who="nanardon" />">Olivier Thauvin</a> and
 now mostly maintained by me (= Shlomi Fish) that aims to address these
 limitations and more, and provide Perl programmers with a robust,
 object-oriented and usable alternative.
 list of results in memory, and then iterating over it.
 </p>
 
+<set-var xsac="<cpan_self_dist d="Class-XSAccessor" />" />
 <p>
 Other, more minor, improvements included a cleanup of the code to use
-<a href="http://search.cpan.org/dist/Class-XSAccessor/">Class-XSAccessor</a>
+<get-var xsac />
 , POD tests and full POD coverage, update of the documentation for
 File-Find-Object-Rule (instead of the original File-Find-Rule) and more links
 and keywords as META.yml meta-data.
 
 <p>
 One thing to note is that we are now using
-<a href="http://search.cpan.org/dist/Class-XSAccessor/">Class-XSAccessor</a>
+<get-var xsac />
 instead of
-<a href="http://search.cpan.org/dist/Class-Accessor/">Class-Accessor</a>,
-because converting to the former yielded a substantial increase in speed. More
+<cpan_self_dist d="Class-Accessor" />,
+because the conversion yielded a substantial increase in speed. More
 information can be found in the Changes file in the distribution.
 </p>
 

File t2/open-source/projects/Module-Format/index.html.wml

 #include "cpan_dists.wml"
 
 <set-var modname="Module-Format" />
-<set-var sco_mod="http://search.cpan.org/dist/<get-var modname />/" />
 <latemp_subject "<get-var modname /> - perform bulk operations on Perl modules" />
 
 <p>

File t2/open-source/projects/Spark/mission/Spark-Pre-Birth-of-a-Modern-Lisp.txt

 Here we can see the string interpolation of variables in action.
 +${....}+ interpolates a single variable, while +$()+ is an
 S-expression. Aside from that spark will also have sprintf,
-http://search.cpan.org/dist/Text-Sprintf-Named/[sprintf with named
+http://metacpan.org/release/Text-Sprintf-Named[sprintf with named
 conversions similar to Python] and something as similar as possible to
 Perl’s Template Toolkit (while still being Sparky). I find Common
 Lisp’s +format+ to be hard to understand and much less flexible than
 
 Spark will have a similar namespace system to Perl 5, with nested namespaces,
 and the ability to selectively import symbols from namespaces at run-time.
-Similarly to http://search.cpan.org/dist/Sub-Exporter/ and as opposed to
+Similarly to http://metacpan.org/release/Sub-Exporter and as opposed to
 C++ where importing symbols from namespaces is an all-or-nothing operation,
 and so mostly unusable.
 
 into a new language. This language will also be Lisp and may be Spark-like
 but it won’t be Spark. Perl 5 which only has one major implementation
 (+perl5+ - currently at +perl-5.10.0+), recently span off
-http://search.cpan.org/dist/kurila/[kurila] which is fork of perl 5 that is
+http://metacpan.org/release/kurila[kurila] which is fork of perl 5 that is
 incompatible with it and with Perl 5, on purpose. Nevertheless, while
 Kurila may be considered a a language in the Perl family, it is not Perl 5
 any more than Perl 4 , Perl 6 , http://sleep.dashnine.org/[Sleep] or whatever

File t2/open-source/projects/XML-Grammar/index.html.wml

 #include '../template.wml'
 
+#include "cpan_dists.wml"
+
 <latemp_subject "The XML-Grammar Meta-Project" />
 
 <p>
 </li>
 
 <li>
-<a href="http://search.cpan.org/dist/XML-Grammar-ProductsSyndication/">XML-Grammar-ProductsSyndication</a> -
+<cpan_self_dist d="XML-Grammar-ProductsSyndication" /> -
 an XML grammar for creating lists of products. See
 <a href="$(ROOT)/recommendations/">my recommendations page</a> for examples.
 </li>

File t2/open-source/projects/docmake/index.html.wml

 #include '../template.wml'
 
+#include "cpan_dists.wml"
+
 <latemp_subject "Docmake - a Perl-based tool to Render DocBook/XML" />
 
 <p>
 <ul>
 
 <li>
-<a href="http://search.cpan.org/dist/App-XML-DocBook-Builder/">On
-search.cpan.org</a>
-
-</li>
-
-<li>
-<a href="http://cpan.uwinnipeg.ca/dist/App-XML-DocBook-Builder">docmake
-on kobesearch</a>
+<cpan_dist d="App-XML-DocBook-Builder">On search.cpan.org</cpan_dist>
 </li>
 
 <li>

File t2/open-source/projects/yjobs-on-mozilla/index.html.wml

 #include '../template.wml'
+
+#include "cpan_dists.wml"
+
 <latemp_subject "Make www.yjobs.co.il Work with Mozilla-based Browsers" />
 
 <p>
 
 <p>
 It is written in <a href="http://www.perl.org/">Perl</a> and uses the
-<a href="http://search.cpan.org/dist/HTTP-Proxy/">CPAN HTTP-Proxy
-module</a> which needs to be installed prior to running the proxy. More
+<cpan_dist d="HTTP-Proxy">CPAN HTTP-Proxy module</cpan_dist> which needs to be
+installed prior to running the proxy. More
 instructions for deploying it are provided in a comment at the beginning
 of the file.
 </p>
 </li>
 
 <li>
-<a href="http://search.cpan.org/dist/HTTP-Proxy/">HTTP-Proxy</a> - an
+<cpan_self_dist d="HTTP-Proxy" /> - an
 excellent CPAN module for building your own HTTP proxies in Perl.
 </li>
 

File t2/philosophy/books-recommends/shlomi-fish-non-fiction-books-recommendations.xml

 
 <p>
 As a proficient Perl programmer who has been working with it since
-1996, and have <a href="http://search.cpan.org/~shlomif/">several
+1996, and have <a href="http://metacpan.org/author/SHLOMIF">several
 modules on CPAN</a> and some other open-source Perl projects, I should note
 that the book did not teach me too many new things. However, I found it to be
 well-written, mildly entertaining at times, and generally accurate. The

File t2/philosophy/computers/perl/joy-of-perl/joy-of-perl.html.wml

 (both were surprisingly easy). I also became familiar with other details
 and paradigms of the language, and also now know better how to search for
 something in CPAN (and even, gasp, how to use the
-<a href="http://search.cpan.org/dist/CPAN/">CPAN.pm module</a> to
+<a href="http://metacpan.org/release/CPAN">CPAN.pm module</a> to
 automatically install things) so I don’t re-invent too many wheels as before.
 </p>
 

File t2/philosophy/computers/web/choice-of-docs-formats/index.html.wml

 #include '../template.wml'
 
 #include "toc_div.wml"
+#include "cpan_dists.wml"
 
 <latemp_subject "Choice of Document Formats" />
 <latemp_meta_desc "Choice of Document Formats" />
 translated into HTML as well as PDF, Microsoft Word, LaTeX and other
 formats. It cannot be directly translated to plain text, but can through
 an intermediate format. POD can be translated into DocBook/XML using
-<a href="http://search.cpan.org/~nandu/Pod-DocBook-1.2/">Pod-DocBook-1.2</a>.
+<cpan_self_dist d="Pod-DocBook" />. (<b>Recent Update</b>:
+<cpan_self_mod m="Pod::PseudoPod::DocBook" /> may be a better choice.).
 </p>
 
 <p>

File t2/philosophy/computers/web/which-wiki/update-2006-07/index.html.wml

 #include '../template.wml'
 #include "toc_div.wml"
+#include "cpan_dists.wml"
 
 <latemp_subject "July 2006 Update to “Which Wiki”" />
 
 
 <p>
 The CPAN Module
-<a href="http://search.cpan.org/dist/HTML-WikiConverter/">HTML-WikiConverter</a>
+<cpan_self_dist d="HTML-WikiConverter" />
 allows one to convert HTML to the formats of most popular Wikis. DocBook/XML
 and POD can generate HTML, which means they can be fed to it in turn.
 </p>