Commits

Anonymous committed 3def8ee

r6184@telaviv1: shlomi | 2008-10-26 19:28:50 +0200
Removed the sponsored ads that were overdue.

  • Participants
  • Parent commits fbe8b6d

Comments (0)

Files changed (14)

bin/remove-sponsored-ads.pl

+#!/usr/bin/perl
+
+use strict;
+use warnings;
+
+use IO::All;
+
+my $date = "2008-10-20";
+
+my $remove_at = qq{remove_at="$date"};
+
+foreach my $file (`ack -l '$remove_at' t2`)
+{
+    chomp($file);
+    print $file, "\n";
+    my $text = io($file)->slurp();
+    $text =~ s{(?:^;;;[^\n]*\n)*<shlomif_sponsored_ad[^\n]*\Q$remove_at\E.*?</shlomif_sponsored_ad>[^\n]*\n?}{}ms;
+    io($file)->print($text);
+}
+

t2/humour/TOWTF/index.html.wml

 
 
 
-;;; Ad added at 2007-Oct-20 / 2007-10-20
-;;; To be removed at 2008-Oct-20 / 2008-10-20
-;;; Requested by Lauren Keidis
-<shlomif_sponsored_ad requested_by="Lauren Keidis" remove_at="2008-10-20">
-<p>
-Find
-the <a
- href="http://www.humorsearch.com/humor/funny-stuff.html">funniest
-things</a> on our
-<a
- href="http://www.brown.edu/Departments/Anthropology/publications/Humor.htm">humor</a> site!! Want to make your friends laugh
-with a&nbsp;<a
- href="http://www.humorsearch.com/humor/funny-stories.html">hilarious
-story</a>?
-Re-enact the <a
- href="http://www.humorsearch.com/humor/funny-movie-quotes.html">funniest
-movie quotes</a> of all
-time and don't forget our&nbsp;<a
-    href="http://pdgusers.lbl.gov/%7Eaerzber/aps_humor.html">jokes</a>!!
-</p>
-</shlomif_sponsored_ad>
 

t2/humour/TheEnemy/index.html.wml

 
 
 
-;;; Ad added at 2007-Oct-20 / 2007-10-20
-;;; To be removed at 2008-Oct-20 / 2008-10-20
-;;; Requested by Lauren Keidis
-<shlomif_sponsored_ad requested_by="Lauren Keidis" remove_at="2008-10-20">
-<p>
-Find the <a
- href="http://www.humorsearch.com/humor/funny-stuff.html">funniest
-stuff</a> on our&nbsp;<a
- href="http://www.brown.edu/Departments/Anthropology/publications/Humor.htm">humor</a> site today! We have the best&nbsp;<a
- href="http://pdgusers.lbl.gov/%7Eaerzber/aps_humor.html">jokes</a> and even more <a
- href="http://www.humorsearch.com/humor/funny-stories.html">hilarious
-stories</a>. Crack your friends up when you recite&nbsp;<a
- href="http://www.humorsearch.com/humor/funny-movie-quotes.html">hilarious
- movie quotes</a>!
-</p>
-</shlomif_sponsored_ad>
 

t2/humour/by-others/darien--everybody-is-free.html.wml

 
 
 
-;;; Ad added at 2007-Oct-20 / 2007-10-20
-;;; To be removed at 2008-Oct-20 / 2008-10-20
-;;; Requested by Lauren Keidis
-<shlomif_sponsored_ad requested_by="Lauren Keidis" remove_at="2008-10-20">
-<p>
-Make
-your friends laugh with new&nbsp;<a
- href="http://pdgusers.lbl.gov/%7Eaerzber/aps_humor.html">jokes</a>! Find&nbsp;<a
- href="http://www.humorsearch.com/humor/funny-stories.html">hilarious
-stories</a>
-and other <a
- href="http://www.humorsearch.com/humor/funny-stuff.html">funny
-things</a> on our #1&nbsp;<a
- href="http://www.brown.edu/Departments/Anthropology/publications/Humor.htm">humor</a> site! You can recite the top ten
-funniest <a
-    href="http://www.humorsearch.com/humor/funny-movie-quotes.html">movie 
-    quotes</a> of all time!
-</p>
-</shlomif_sponsored_ad>
 

t2/humour/fortunes/index.html.wml

 
 
 
-;;; Ad added at 2007-Oct-20 / 2007-10-20
-;;; To be removed at 2008-Oct-20 / 2008-10-20
-;;; Requested by Lauren Keidis
-<shlomif_sponsored_ad requested_by="Lauren Keidis" remove_at="2008-10-20">
-<p>
-Want more&nbsp;
-<a href="http://pdgusers.lbl.gov/%7Eaerzber/aps_humor.html">jokes</a>? 
-Get <a href="http://www.humorsearch.com/humor/funny-stuff.html">hilarious
-stuff</a> online now from our&nbsp;<a
- href="http://www.brown.edu/Departments/Anthropology/publications/Humor.htm">humor</a> site. We have <a
- href="http://www.humorsearch.com/humor/funny-stories.html">knee-slapping
-stories</a> you can re-tell your friends and even the
-top&nbsp;<a
- href="http://www.humorsearch.com/humor/funny-movie-quotes.html">side-splitting</a> <a
- href="http://www.humorsearch.com/humor/funny-movie-quotes.html">movie
- quotes</a> of all
-time!
-</p>
-</shlomif_sponsored_ad>
 

t2/humour/index.html.wml

 Media Recommendations of films, fiction books, etc.
 </p>
 
-;;; Ad added at 2007-Oct-20 / 2007-10-20
-;;; To be removed at 2008-Oct-20 / 2008-10-20
-;;; Requested by Lauren Keidis
-<shlomif_sponsored_ad requested_by="Lauren Keidis" remove_at="2008-10-20">
-<p>
-Get the best <a
- href="http://pdgusers.lbl.gov/%7Eaerzber/aps_humor.html">jokes</a>
-online! Tell your friends&nbsp;<a
-href="http://www.humorsearch.com/humor/funny-stories.html">amusing
-stories</a> you've read on our <a
- href="http://www.brown.edu/Departments/Anthropology/publications/Humor.htm">humor</a>
-site. Make people laugh with <a
- href="http://www.humorsearch.com/humor/funny-movie-quotes.html">hilarious
-movie quotes</a>! Find that and a ton more <a
- href="http://www.humorsearch.com/humor/funny-stuff.html">funny
- things</a> here!
-</p>
-</shlomif_sponsored_ad>
 

t2/open-source/anti/qmail/index.html.wml

 
 
 
-;;; Ad added at 2007-Oct-20 / 2007-10-20
-;;; To be removed at 2008-Oct-20 / 2008-10-20
-;;; Requested by Lauren Keidis
-<shlomif_sponsored_ad requested_by="Lauren Keidis" remove_at="2008-10-20">
-<p>
-Need&nbsp;<a
- href="http://www.intermedia.net/">email hosting</a>? Try out our&nbsp;<a
- href="http://www.intermedia.net/business-managers/learn-about-business-email/what-is-outlook-exchange/what-is-outlook-exchange.asp">outlook
-exchange</a>! We are at
-the top of <a href="http://techmall.dis.wa.gov/default_hosting.aspx">hosting</a>
-networks. Use our trusted <a href="http://it.med.miami.edu/x294.xml">e-mail</a>
-and have confidence our&nbsp;<a
- href="http://www.intermedia.net/it-professionals/hosted-exchange/hosted-exchange.asp">microsoft
-exchange server</a> will
-    be the best for your business!
-</p>
-</shlomif_sponsored_ad>
 

t2/open-source/favourite/index.html.wml

 Rizzo, I am Gringotts' current maintainer.
 </p>
 
-;;; Ad added at 2007-Oct-20 / 2007-10-20
-;;; To be removed at 2008-Oct-20 / 2008-10-20
-;;; Requested by Lauren Keidis
-<shlomif_sponsored_ad requested_by="Lauren Keidis" remove_at="2008-10-20">
-<p>
-Make your&nbsp;<a
- href="http://www.ahsc.arizona.edu/services/what_is_PDF.html">PDF
-files</a>
-more manageable with a&nbsp;<a
- href="http://www.investintech.com/">PDF converter</a>! You can <a
- href="http://www.infobuy.org/buy_software.php">buy software</a> that allows you to&nbsp;<a
- href="http://www.investintech.com/convertPDFtodoc.html">convert
-PDF to .doc</a>. Stop the
-hassle and use our software to&nbsp;<a
- href="http://www.investintech.com/prod_a2d.htm">convert PDF
- to Word</a>.
-</p>
-</shlomif_sponsored_ad>
 

t2/open-source/index.html.wml

 
 
 
-;;; Ad added at 2007-Oct-20 / 2007-10-20
-;;; To be removed at 2008-Oct-20 / 2008-10-20
-;;; Requested by Lauren Keidis
-<shlomif_sponsored_ad requested_by="Lauren Keidis" remove_at="2008-10-20">
-<p>
-Do
-you need to <a href="http://www.infobuy.org/buy_software.php">buy software</a>
-that makes pfds manageable? You can now
-<a href="http://www.investintech.com/prod_a2d.htm">convert pdf
-to word</a>! Check out our&nbsp;<a
- href="http://www.investintech.com/">pdf converter</a> and make your <a
- href="http://www.ahsc.arizona.edu/services/what_is_pdf.html">pdf
-files</a> manageable by&nbsp;<a
- href="http://www.investintech.com/convertpdftodoc.html">converting
- pdf to doc</a>.
-</p>
-</shlomif_sponsored_ad>
 

t2/open-source/nostalgia/index.html.wml

 
 
 
-;;; Ad added at 2007-Oct-20 / 2007-10-20
-;;; To be removed at 2008-Oct-20 / 2008-10-20
-;;; Requested by Lauren Keidis
-<shlomif_sponsored_ad requested_by="Lauren Keidis" remove_at="2008-10-20">
-<p>
-Want to get a different <a
- href="http://www.loc.gov/issn/barcodes.html">code</a>?
-Print your own&nbsp;<a href="http://www.barcodesinc.com/">barcode
-labels</a>! Use our <a
- href="http://instruct1.cit.cornell.edu/courses/ee476/FinalProjects/s2004/mtf23/BarcodeScanner/index.htm">barcode
-scanners</a> for all your business needs. We have <a
- href="symbol%20scanner">symbol scanners</a> too! Don't
-forget to check out our&nbsp;<a
-    href="http://www.barcodesinc.com/zebra/">zebra printers</a>.
-</p>
-</shlomif_sponsored_ad>
 

t2/open-source/resources/software-tools/index.html.wml

 
 
 
-;;; Ad added at 2007-Oct-20 / 2007-10-20
-;;; To be removed at 2008-Oct-20 / 2008-10-20
-;;; Requested by Lauren Keidis
-<shlomif_sponsored_ad requested_by="Lauren Keidis" remove_at="2008-10-20">
-<p>
-Use
-new&nbsp;<a
- href="http://www.infobuy.org/buy_software.php">software</a> tools that allow you to&nbsp;<a
- href="http://www.investintech.com/convertPDFtodoc.html">convert
-PDF to .doc</a>! Make
-your&nbsp;<a
- href="http://www.ahsc.arizona.edu/services/what_is_PDF.html">PDF
-files</a>
-more manageable with our&nbsp;<a
- href="http://www.investintech.com/">PDF converter</a>. You can even convert&nbsp;<a
- href="http://www.investintech.com/able2extract.html">PDF to
-Excel</a> with our
-software.
-</p>
-</shlomif_sponsored_ad>
 

t2/philosophy/computers/open-source/linus-torvalds-bus-factor/index.html.wml

 
 
 
-;;; Ad added at 2007-Oct-20 / 2007-10-20
-;;; To be removed at 2008-Oct-20 / 2008-10-20
-;;; Requested by Lauren Keidis
-<shlomif_sponsored_ad requested_by="Lauren Keidis" remove_at="2008-10-20">
-<p>
-Get&nbsp;<a
- href="http://www.investintech.com/">PDF conversion</a> for your computer. <a
- href="http://www.infobuy.org/buy_software.php">Buy software</a> that allows you to&nbsp;<a
- href="http://www.investintech.com/prod_a2d.htm">convert PDF
-to Word</a> today! We also
-offer a&nbsp;<a
- href="http://www.investintech.com/convertpdftodoc.html">PDF
-to .doc converter</a>!
-Make&nbsp;<a
- href="http://www.ahsc.arizona.edu/services/what_is_pdf.html">PDF
-files</a>
-a lot easier!
-</p>
-</shlomif_sponsored_ad>
 

t2/philosophy/computers/web/create-a-great-personal-homesite/index.html.wml

 
 
 
-;;; Ad added at 2007-Oct-20 / 2007-10-20
-;;; To be removed at 2008-Oct-20 / 2008-10-20
-;;; Requested by Lauren Keidis
-<shlomif_sponsored_ad requested_by="Lauren Keidis" remove_at="2008-10-20">
-<p>
-Sick of&nbsp;<a
- href="http://www.ahsc.arizona.edu/services/what_is_PDF.html">PDF
-files</a>?
-You can <a
- href="http://www.infobuy.org/buy_software.php">buy software</a> that makes&nbsp;<a
- href="http://www.investintech.com/">PDF conversion</a> easy! You can&nbsp;<a
- href="http://www.investintech.com/convertPDFtodoc.html">convert
-PDF to doc</a> with our
-computer software. You can even covert&nbsp;<a
- href="http://www.investintech.com/able2extract.html">PDF to
-Excel</a> files with
-Investintech!
-</p>
-</shlomif_sponsored_ad>
 

t2/philosophy/computers/web/use-qmail-instead/index.html.wml

 </p>
 
 
-;;; Ad added at 2007-Oct-20 / 2007-10-20
-;;; To be removed at 2008-Oct-20 / 2008-10-20
-;;; Requested by Lauren Keidis
-<shlomif_sponsored_ad requested_by="Lauren Keidis" remove_at="2008-10-20">
-<p>
-Use
-our&nbsp;<a
- href="http://www.intermedia.net/it-professionals/web-hosting/shared-web-hosting/coldfusion/coldfusion.asp">ColdFusion
-hosting</a> for your
-business&nbsp;<a
- href="http://it.med.miami.edu/x294.xml">E-mail</a> needs! You can have confidence that
-our&nbsp;<a
- href="http://www.intermedia.net/">E-mail hosting</a> will be nothing but top notch quality!
-Use our&nbsp;<a
- href="http://www.intermedia.net/business-managers/learn-about-business-email/what-is-outlook-exchange/what-is-outlook-exchange.asp">Outlook
-Exchange</a> for
-your&nbsp;<a
-    href="http://techmall.dis.wa.gov/default_hosting.aspx">hosting</a> needs!
-</p>
-</shlomif_sponsored_ad>