summaryrefslogtreecommitdiff
path: root/Projects.mdwn
AgeCommit message (Collapse)AuthorFilesLines
2010-10-30CleanupDanK1-1/+4
2010-02-08Added link to other projectsandrew1-0/+8
2009-11-22Fixed more links.andrew1-7/+7
2009-11-22Fixed links.andrew1-2/+2
2009-08-12natronics1-0/+2
2009-08-12update for rename of comm.mdwn to communications.mdwnandrew1-1/+1
2009-08-12update for rename of CommunicationsTeamHome.mdwn to comm.mdwnandrew1-1/+1
2009-08-12update for rename of SoftwareTeamHome.mdwn to software.mdwnandrew1-1/+1
2009-08-12update for rename of AirframeTeamHome.mdwn to airframe.mdwnandrew1-1/+1
2009-08-12update for rename of AvionicsTeamHome.mdwn to avionics.mdwnandrew1-1/+1
2009-07-05Another upgrade from html to wikinatronics1-94/+39
2007-08-09Replace absolute links to http://psas.pdx.edu using Ikiwiki links.Jamey Sharp22-41/+41
Absolute links to images are not replaced, because that would change the generated HTML--it would generate <img> tags instead of <a> links. Mostly handled automatically, with a little hand-editing. find -name '*.mdwn' | xargs ../wikilink wikilink: #!/usr/bin/perl -pi use warnings; use strict; BEGIN { $::pat = qr{\Qhttp://psas.pdx.edu/\E(?!albums/|cgi-bin/|viewfile/|attach/)(?:PSAS/)?}; $::uri = qr{="(?:$::pat)([^"]*)"}; $::img = qr{<img ([^>]*src="(?:$::pat)[^"]*"[^>]*)>}; } sub mdwn { my ($target, $alt) = @_; if($alt) { $alt =~ s/^\s*(.*?)\s*$/$1/; (my $realalt = $alt) =~ s/\\//g; $alt = '' if $target =~ m{/\Q$realalt\E$}; } $alt = $alt ? $alt . '|' : ''; $target =~ s/\.html$//; return '[[' . $alt . $target . ']]'; } sub img { my @attrs = split(' ', $_[0]); my ($src, $alt); foreach(@attrs) { /^(.*?)=["']?(.*?)["']?$/; $src = $2 if $1 eq "src"; $alt = $2 if $1 eq "alt"; } $src =~ s/^$::pat//o; return mdwn($src, $alt); } s!<a href(?:$::uri)[^>]*>\s*(.*?)\s*</a>!mdwn($1, $2)!iego; s!$::img!img($1)!ego; s!\!\[\s*([^]]*)\s*\]\((?:$::pat)([^)]*\.(?:png|gif|jpg|jpeg))\)!mdwn($2, $1)!ego; s{\[\s*([^]]*)\s*\]\((?:$::pat)([^)]*)(?<!png|gif|jpg)(?<!jpeg)\)}{mdwn($2, $1)}ego;
2007-08-06Move historical events and meetings to a news/YYYY-MM-DD hierarchy.Jamey Sharp1786-28061/+28661
Josh and I hand-constructed a map from old names to dates that looked like this: 2001-12-11.mdwn MeetingNotes11Dec01.mdwn general 2001-12-16.mdwn WorkshopNotes16Dec01.mdwn avionics software logistics 2002-09-22.mdwn BlackRockSept2002.mdwn event 2002-09-22/data.mdwn BlackRockSept2002Data.mdwn 2002-09-22/logistics.mdwn BlackRockLaunch20Sep2002.mdwn 2002-09-22/logistics/detail.mdwn DetailListBlackRock2002.mdwn 2002-09-22/logistics/people.mdwn LogisticsFor.mdwn Then I moved everything and added the tags this way: while read new old tags do ../iki-mv $old news/$new test -n "$tags" && (echo; echo "[[tag $tags]]") >> news/$new done < ../meetings iki-mv: #!/bin/sh set -e old=$1 new=$2 oldext=`echo $old | sed 's/.*\././'` newext=`echo $new | sed 's/.*\././'` oldbase=`echo $old | sed 's/\(.*\)\..*/\1/'` newbase=`echo $new | sed 's/\(.*\)\..*/\1/'` mkdir -p `dirname $new` git-mv $old $new test -e $oldbase && git-mv $oldbase $newbase find -iname '*.mdwn' -o -iname '*.html' -o -iname '*.htm' | xargs perl -pi -e 's!\b\Q'$oldbase'\E\b!'$newbase'!go'
2007-08-04Projects: Remove font tags.Josh Triplett1-2/+0
2007-03-01Projects: added info about LV2a and LV2bPeter Welte1-0/+6
2006-09-08Projects: Fix broken links.Jamey Sharp1-1/+1
2006-03-20ProjectsBart Massey1-0/+1
2004-12-28ProjectsAnonymous1-2/+1
2004-02-13ProjectsAnonymous1-1/+1
2004-01-02ProjectsAnonymous1-1/+1
2003-12-01ProjectsAnonymous1-8/+11
2003-11-27ProjectsAnonymous1-3/+7
2003-02-17ProjectsAnonymous1-2/+3
2003-02-16ProjectsAnonymous1-0/+10
2003-01-10ProjectsAnonymous1-0/+2
2002-05-23ProjectsAnonymous1-11/+72
2002-05-22ProjectsAnonymous1-0/+13