Skip to content

barcelonapm/www.pm.org

 
 

Repository files navigation

Web:     http://www.pm.org
Support: [email protected]

Version control: https://github.com/perlorg/www.pm.org/
Admin manual:    http://www.pm.org/faq/admin.html

Directory layout is as follows:
    bin/                      programs to build the site etc.
    lib/                      Template Toolkit templates
    src/                      actual text of the site
    www/                      output goes here
    perl_mongers.xml          PM group listing data to build corresponding pages from
    perl_mongers.dtd          definition for perl_mongers.xml format

To build the site, run "bin/xml" and "bin/map.xml.pl".

Your local www directory should simply be a symlink into
a WebDAV mount of https://groups.pm.org/admin/. For example, in OS X:
   
      ln -s /Volumes/admin/groups/www www
   
At that point, when you run "bin/xml" you're publishing the output directly 
to www.pm.org.

What "bin/xml" does is it takes the source files from src/ applies any
templates to them (from lib/), and writes the output to the www/
directory.

lib/layout is the template which is applied to every page.

Note: whenever you refer to a page on our site inside a template,
please use the following mechanism, which changes the link to a
relative one so that we can build the site anywhere we want:

  See [% link_to("foo.html", "the best foo") %].


social networks:
    <meetup>http://www.meetup.com/The-New-York-Perl-Meetup-Group/</meetup>
    <linkedin>http://www.linkedin.com/groups?gid=684</linkedin>
    <facebook>http://www.facebook.com/Israeli.Perl.Mongers</facebook>
    <googleplus>https://plus.google.com/105209189901369984525</googleplus>
    <twitter>https://twitter.com/perlweekly</twitter>


Packages

No packages published

Languages

  • HTML 60.3%
  • Perl 34.5%
  • CSS 4.2%
  • JavaScript 1.0%