Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

update

  • Loading branch information...
commit 93ffc96cb272df56207109c8caa453bf48936994 1 parent 35177ab
www-data authored
0  bootstrap.min.css 100644 → 100755
File mode changed
0  carpet.txt 100644 → 100755
File mode changed
0  community.txt 100644 → 100755
File mode changed
0  index.css 100644 → 100755
File mode changed
0  index.txt 100644 → 100755
File mode changed
BIN  logo.png 100644 → 100755
4 make.py
@@ -30,8 +30,8 @@ def html(soup):
30 30
31 31 videos = BeautifulSoup(open('template.txt', 'r').read())
32 32 videosout = open('videos.html', 'w')
33   -#videosframe = BeautifulSoup(curl('http://www.youtube.com/user/heardmagazine/videos'))
34   -videosframe = BeautifulSoup(curl('http://www.youtube.com/user/skymilesthemovement/videos'))
  33 +videosframe = BeautifulSoup(curl('http://www.youtube.com/user/raywilliamjohnson/videos'))
  34 +#videosframe = BeautifulSoup(curl('http://www.youtube.com/user/skymilesthemovement/videos'))
35 35 videosframeout = open('youtube.html', 'w')
36 36
37 37 photos = BeautifulSoup(open('template.txt', 'r').read())
0  template.txt 100644 → 100755
File mode changed
0  twitter.htm 100644 → 100755
File mode changed
10 update.sh
... ... @@ -1,5 +1,11 @@
1 1 #!/bin/bash
2 2
3 3 printf 'Content-type: text/html\n\n'
4   -nohup python make.py &
5   -echo '<a href="http://heardmag.com/">Heard Magazine</a>'
  4 +mkdir backup
  5 +cp -f *html backup/
  6 +git add backup backup/*
  7 +git commit -a -m update
  8 +git pull
  9 +git push
  10 +python make.py
  11 +echo '<a href="http://heardmag.com/">Heard Magazine</a>'
0  widget-logo.png 100644 → 100755
0  widget.css 100644 → 100755
File mode changed
0  widget.js 100644 → 100755
File mode changed

0 comments on commit 93ffc96

Please sign in to comment.
Something went wrong with that request. Please try again.