Skip to content

Commit

Permalink
include /video & /datenspuren too
Browse files Browse the repository at this point in the history
  • Loading branch information
astro committed Oct 22, 2011
1 parent 128bc33 commit 730cf3c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pentalog.hs
Expand Up @@ -129,7 +129,9 @@ isPentaMedia fn = not (SC.null fn) &&
isValid fn &&
oneDot fn &&
(fn `startsWith` "/pentaradio/" ||
fn `startsWith` "/pentacast/")
fn `startsWith` "/pentacast/" ||
fn `startsWith` "/datenspuren/" ||
fn `startsWith` "/video/")
-- TODO: URL normalization & URI decoding
where startsWith a b = take (fromIntegral $ length b) (SC.unpack a) == b
oneDot s = case SC.uncons s of
Expand Down

0 comments on commit 730cf3c

Please sign in to comment.