Skip to content

Commit

Permalink
Add podcasts
Browse files Browse the repository at this point in the history
  • Loading branch information
Firefishy committed Sep 17, 2024
1 parent a8f48bc commit 000943f
Show file tree
Hide file tree
Showing 99 changed files with 1,206 additions and 10 deletions.
88 changes: 88 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
podcasts/saturday/state_room/0900_Keynote.mov filter=lfs diff=lfs merge=lfs -text
podcasts/saturday/state_room/0900_Keynote.m4v filter=lfs diff=lfs merge=lfs -text
podcasts/saturday/state_room/1000_Is_volunteered_geographic_information_sustainable.m4v filter=lfs diff=lfs merge=lfs -text
podcasts/saturday/state_room/1500_Community_Smoothness.m4v filter=lfs diff=lfs merge=lfs -text
podcasts/sunday/state_room/1000_The_good_the_bad_and_the_ugly.m4v filter=lfs diff=lfs merge=lfs -text
podcasts/sunday/state_room/1115_Volunteer_Generated_Maps.m4v filter=lfs diff=lfs merge=lfs -text
podcasts/sunday/state_room/1400_LT_06_Japan.m4v filter=lfs diff=lfs merge=lfs -text
podcasts/saturday/state_room/1500_Community_Smoothness.mov filter=lfs diff=lfs merge=lfs -text
podcasts/saturday/state_room/1610_LT_01_Mappin_Multan.mov filter=lfs diff=lfs merge=lfs -text
podcasts/sunday/state_room/1600_The_State_of_Italy.mov filter=lfs diff=lfs merge=lfs -text
podcasts/saturday/state_room/1610_LT_03_State_of_Romania.m4v filter=lfs diff=lfs merge=lfs -text
podcasts/sunday/state_room/1515_Bringing_OSM_to_schools.m4v filter=lfs diff=lfs merge=lfs -text
podcasts/saturday/state_room/1610_LT_05_Open_Habana_Map.mov filter=lfs diff=lfs merge=lfs -text
podcasts/sunday/state_room/1630_The_State_of_Spain.mov filter=lfs diff=lfs merge=lfs -text
podcasts/saturday/state_room/1640_Integrating_OpenStreetMap_into_Wikipedia.m4v filter=lfs diff=lfs merge=lfs -text
podcasts/sunday/state_room/1400_LT_09_State_of_Croatia.m4v filter=lfs diff=lfs merge=lfs -text
podcasts/saturday/state_room/1020_Geographic_Intelligence_via_an_Open_Strategy.m4v filter=lfs diff=lfs merge=lfs -text
podcasts/sunday/state_room/1445_Open_Historical_Map.m4v filter=lfs diff=lfs merge=lfs -text
podcasts/saturday/state_room/1200_LT_01_NMA_data_OSM_tech.mov filter=lfs diff=lfs merge=lfs -text
podcasts/sunday/state_room/1400_LT_01_State_of_Vietnam.mov filter=lfs diff=lfs merge=lfs -text
podcasts/saturday/state_room/1120_The_State_of_Germany.m4v filter=lfs diff=lfs merge=lfs -text
podcasts/saturday/state_room/1130_The_State_of_Canada.m4v filter=lfs diff=lfs merge=lfs -text
podcasts/sunday/state_room/1400_LT_04_Mapping_Relief.m4v filter=lfs diff=lfs merge=lfs -text
podcasts/sunday/state_room/1400_LT_07_Ideas_on_data_quality.m4v filter=lfs diff=lfs merge=lfs -text
podcasts/saturday/state_room/1200_LT_02_Mapping_Antigua.m4v filter=lfs diff=lfs merge=lfs -text
podcasts/sunday/state_room/1500_Nationaal_Archief_Mapping_Collective_History_Together.m4v filter=lfs diff=lfs merge=lfs -text
podcasts/saturday/state_room/1200_LT_02_Mapping_Antigua.mov filter=lfs diff=lfs merge=lfs -text
podcasts/saturday/state_room/1200_LT_03_State_of_Japan.mov filter=lfs diff=lfs merge=lfs -text
podcasts/saturday/state_room/1610_LT_02_Mapping_India.mov filter=lfs diff=lfs merge=lfs -text
podcasts/sunday/state_room/1145_CycleStreets.mov filter=lfs diff=lfs merge=lfs -text
podcasts/sunday/state_room/1400_LT_04_Mapping_Relief.mov filter=lfs diff=lfs merge=lfs -text
podcasts/sunday/state_room/1400_LT_05_OSM2GO.mov filter=lfs diff=lfs merge=lfs -text
podcasts/saturday/state_room/0930_Beyond_Good_Enough.m4v filter=lfs diff=lfs merge=lfs -text
podcasts/saturday/state_room/1650_Meta-mapping_some_powerful_style_sheet_techniques.m4v filter=lfs diff=lfs merge=lfs -text
podcasts/saturday/state_room/1020_Geographic_Intelligence_via_an_Open_Strategy.mov filter=lfs diff=lfs merge=lfs -text
podcasts/saturday/state_room/1610_LT_04_OSM_Moldova.mov filter=lfs diff=lfs merge=lfs -text
podcasts/sunday/state_room/1430_Mapping_History.mov filter=lfs diff=lfs merge=lfs -text
podcasts/saturday/state_room/1200_LT_01_NMA_data_OSM_tech.m4v filter=lfs diff=lfs merge=lfs -text
podcasts/saturday/state_room/1200_LT_03_State_of_Japan.m4v filter=lfs diff=lfs merge=lfs -text
podcasts/sunday/state_room/1200_How_Testing_helped_the_API_0.6_Migration.m4v filter=lfs diff=lfs merge=lfs -text
podcasts/sunday/state_room/1400_LT_08_potlatch.mov filter=lfs diff=lfs merge=lfs -text
podcasts/sunday/state_room/1400_LT_09_State_of_Croatia.mov filter=lfs diff=lfs merge=lfs -text
podcasts/sunday/state_room/1445_Open_Historical_Map.mov filter=lfs diff=lfs merge=lfs -text
podcasts/saturday/state_room/1000_Is_volunteered_geographic_information_sustainable.mov filter=lfs diff=lfs merge=lfs -text
podcasts/saturday/state_room/1140_The_State_of_Ukraine.mov filter=lfs diff=lfs merge=lfs -text
podcasts/saturday/state_room/1150_The_State_of_France.mov filter=lfs diff=lfs merge=lfs -text
podcasts/saturday/state_room/1200_LT_04_GPSMid.mov filter=lfs diff=lfs merge=lfs -text
podcasts/sunday/state_room/1000_The_good_the_bad_and_the_ugly.mov filter=lfs diff=lfs merge=lfs -text
podcasts/sunday/state_room/1615_The_State_of_the_USA.mov filter=lfs diff=lfs merge=lfs -text
podcasts/saturday/state_room/1150_The_State_of_France.m4v filter=lfs diff=lfs merge=lfs -text
podcasts/saturday/state_room/1200_LT_04_GPSMid.m4v filter=lfs diff=lfs merge=lfs -text
podcasts/saturday/state_room/1610_LT_01_Mappin_Multan.m4v filter=lfs diff=lfs merge=lfs -text
podcasts/saturday/state_room/1610_LT_05_Open_Habana_Map.m4v filter=lfs diff=lfs merge=lfs -text
podcasts/saturday/state_room/1710_Free_and_Open_Palestine.mov filter=lfs diff=lfs merge=lfs -text
podcasts/sunday/state_room/1215_How_People_Search_for_Locations.mov filter=lfs diff=lfs merge=lfs -text
podcasts/sunday/state_room/1400_LT_03_Constraint_Databases.mov filter=lfs diff=lfs merge=lfs -text
podcasts/sunday/state_room/1640_Advanced_OSM_Cartography.mov filter=lfs diff=lfs merge=lfs -text
podcasts/sunday/state_room/1400_LT_01_State_of_Vietnam.m4v filter=lfs diff=lfs merge=lfs -text
podcasts/sunday/state_room/1400_LT_05_OSM2GO.m4v filter=lfs diff=lfs merge=lfs -text
podcasts/saturday/state_room/1650_Meta-mapping_some_powerful_style_sheet_techniques.mov filter=lfs diff=lfs merge=lfs -text
podcasts/sunday/state_room/1400_LT_06_Japan.mov filter=lfs diff=lfs merge=lfs -text
podcasts/sunday/state_room/1400_LT_07_Ideas_on_data_quality.mov filter=lfs diff=lfs merge=lfs -text
podcasts/saturday/state_room/1610_LT_04_OSM_Moldova.m4v filter=lfs diff=lfs merge=lfs -text
podcasts/saturday/state_room/1710_Free_and_Open_Palestine.m4v filter=lfs diff=lfs merge=lfs -text
podcasts/sunday/state_room/1400_LT_02_State_of_Egypt.m4v filter=lfs diff=lfs merge=lfs -text
podcasts/sunday/state_room/1400_LT_10_OSM_Accessibility.m4v filter=lfs diff=lfs merge=lfs -text
podcasts/saturday/state_room/1130_The_State_of_Canada.mov filter=lfs diff=lfs merge=lfs -text
podcasts/sunday/state_room/1200_How_Testing_helped_the_API_0.6_Migration.mov filter=lfs diff=lfs merge=lfs -text
podcasts/sunday/state_room/1400_LT_02_State_of_Egypt.mov filter=lfs diff=lfs merge=lfs -text
podcasts/sunday/state_room/1615_The_State_of_the_USA.m4v filter=lfs diff=lfs merge=lfs -text
podcasts/sunday/state_room/1640_Advanced_OSM_Cartography.m4v filter=lfs diff=lfs merge=lfs -text
podcasts/sunday/state_room/1115_Volunteer_Generated_Maps.mov filter=lfs diff=lfs merge=lfs -text
podcasts/saturday/state_room/0930_Beyond_Good_Enough.mov filter=lfs diff=lfs merge=lfs -text
podcasts/saturday/state_room/1640_Integrating_OpenStreetMap_into_Wikipedia.mov filter=lfs diff=lfs merge=lfs -text
podcasts/sunday/state_room/1100_Cartagen_and_GSS_maps_that_change_move_and_tell_stories.mov filter=lfs diff=lfs merge=lfs -text
podcasts/sunday/state_room/1500_Nationaal_Archief_Mapping_Collective_History_Together.mov filter=lfs diff=lfs merge=lfs -text
podcasts/sunday/state_room/1100_Cartagen_and_GSS_maps_that_change_move_and_tell_stories.m4v filter=lfs diff=lfs merge=lfs -text
podcasts/sunday/state_room/1400_LT_03_Constraint_Databases.m4v filter=lfs diff=lfs merge=lfs -text
podcasts/sunday/state_room/1600_The_State_of_Italy.m4v filter=lfs diff=lfs merge=lfs -text
podcasts/saturday/state_room/1120_The_State_of_Germany.mov filter=lfs diff=lfs merge=lfs -text
podcasts/sunday/state_room/1515_Bringing_OSM_to_schools.mov filter=lfs diff=lfs merge=lfs -text
podcasts/saturday/state_room/1140_The_State_of_Ukraine.m4v filter=lfs diff=lfs merge=lfs -text
podcasts/sunday/state_room/1145_CycleStreets.m4v filter=lfs diff=lfs merge=lfs -text
podcasts/sunday/state_room/1400_LT_08_potlatch.m4v filter=lfs diff=lfs merge=lfs -text
podcasts/sunday/state_room/1430_Mapping_History.m4v filter=lfs diff=lfs merge=lfs -text
podcasts/sunday/state_room/1630_The_State_of_Spain.m4v filter=lfs diff=lfs merge=lfs -text
podcasts/saturday/state_room/1610_LT_03_State_of_Romania.mov filter=lfs diff=lfs merge=lfs -text
podcasts/sunday/state_room/1400_LT_10_OSM_Accessibility.mov filter=lfs diff=lfs merge=lfs -text
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
lfs: true

- name: Docker meta
id: meta
Expand Down
1 change: 1 addition & 0 deletions podcasts/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
IndexIgnore header_* footer.xml
3 changes: 3 additions & 0 deletions podcasts/footer.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
</channel>
</rss>

38 changes: 38 additions & 0 deletions podcasts/gen_podcast_m4v
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
#!/bin/bash
content_type='video/x-m4v'
extension='m4v'
url='http://www.stateofthemap.org/podcasts/'


for file in $(find . -name *.$extension | sort); do
title="$(dirname $file | sed "s/\.\/\([a-z]\)\([a-z][a-z]\)[a-zA-Z0-9]*\/\([a-z]\)\([a-z]*\)\_[a-z]*/\u\1\2 \u\3\4/g"
) $(basename $file .$extension | sed "s/_/ /g")"

#runtime=$(grep $i'.*Video |' $index -11 | grep cliplaenge | sed -e "s:<[^>]*>::g" | sed -e 's/^[ \t]*//' | head -c 5)
date_rfc=$(date -r $file -R)
desc=''
link=$url$file
length=$(wc -c $file | cut -d' ' -f1)

tee -a content_$extension.xml <<CAT
<item>
<title>$title</title>
<link>$link</link>
<pubDate>$daterfc</pubDate>
<description>$desc</description>
<enclosure url="$link" length="$length" type="$content_type"/>
<guid isPermaLink="false">$file</guid>
</item>
CAT
# <itunes:duration>00:$runtime</itunes:duration>
# <itunes:summary>$desc</itunes:summary>
# echo $file
# echo $title
# echo $link
# echo $daterfc
# echo ---------------
done
#
cat header_$extension.xml content_$extension.xml footer.xml > podcast_$extension.xml
rm content_$extension.xml

38 changes: 38 additions & 0 deletions podcasts/gen_podcast_mov
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
#!/bin/bash
content_type='video/mp4'
extension='mov'
url='http://www.stateofthemap.org/podcasts/'


for file in $(find . -name *.$extension | sort); do
title="$(dirname $file | sed "s/\.\/\([a-z]\)\([a-z][a-z]\)[a-zA-Z0-9]*\/\([a-z]\)\([a-z]*\)\_[a-z]*/\u\1\2 \u\3\4/g"
) $(basename $file .$extension | sed "s/_/ /g")"

#runtime=$(grep $i'.*Video |' $index -11 | grep cliplaenge | sed -e "s:<[^>]*>::g" | sed -e 's/^[ \t]*//' | head -c 5)
date_rfc=$(date -r $file -R)
desc=''
link=$url$file
length=$(wc -c $file | cut -d' ' -f1)

tee -a content_$extension.xml <<CAT
<item>
<title>$title</title>
<link>$link</link>
<pubDate>$daterfc</pubDate>
<description>$desc</description>
<enclosure url="$link" length="$length" type="$content_type"/>
<guid isPermaLink="false">$file</guid>
</item>
CAT
# <itunes:duration>00:$runtime</itunes:duration>
# <itunes:summary>$desc</itunes:summary>
# echo $file
# echo $title
# echo $link
# echo $daterfc
# echo ---------------
done
#
cat header_$extension.xml content_$extension.xml footer.xml > podcast_$extension.xml
rm content_$extension.xml

10 changes: 10 additions & 0 deletions podcasts/header_m4v.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" ?>
<rss version="2.0">
<channel>
<title>State of the Map 2009 - Prerelease M4V Screenrecordings</title>
<link>http://www.stateofthemap.org/podcasts/</link>
<description></description>
<language>en-en</language>
<pubDate></pubDate>


10 changes: 10 additions & 0 deletions podcasts/header_mov.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" ?>
<rss version="2.0">
<channel>
<title>State of the Map 2009 - Prerelease MOV Screenrecordings</title>
<link>http://www.stateofthemap.org/podcasts/</link>
<description></description>
<language>en-en</language>
<pubDate></pubDate>


Loading

0 comments on commit 000943f

Please sign in to comment.