imgedit

This is a project dealing with the website http://centralkids.org.nz. I just want to play with it and see what I can do.

My first step was downloading the site with wget. Adding source control, a new external folder to hold a new website/data/notebooks (keep everything clean and build it up), and a ipython notebook/py file that is used to generate the new site. This notebook currently sits in the repo main dir.

The script starts by looking at the main dir and filtering the list of folders and files. I do this many times.

Over use of lists. Attempting to use more dict.

Ideas fo


In [456]:
from IPython.display import display, Javascript

def markdown_below():
    display(Javascript("""
    IPython.notebook.insert_cell_below('markdown')
    """));

markdown_below()



In [457]:
from shutil import make_archive

testing one two three


In [458]:
import os
import re

In [459]:
listkindy = list(os.listdir(os.getcwd()))

In [460]:
for kin in listkindy:
    print kin

In [461]:
for kin in listkindy:
    print kin

In [462]:
listen = []

In [463]:
savlis = []

In [464]:
for kin in listkindy:
    if 'kinder' in kin:
        print kin
        listen.append(kin)

In [464]:


In [465]:
for kin in listkindy:
    if 'early' in kin:
        print kin
        listen.append(kin)

In [466]:
#listen.sort()

In [467]:
for itz in listen:
    if 'html' in itz:
        print itz
        listen.remove(itz)

In [468]:
import re

In [469]:
for lix in listen:
    print lix
    savlis.append(geopy.Location(lix))

In [470]:
s = 'abc-d-ef ghijk'
s1 = s.replace('-', ' ')

In [570]:
splist = []

In [571]:
oplist = []

In [572]:
for spz in listen:
    savall = open('/home/public/' + spz + '/index.html')
    oplist.append(savall.read())
    #oplist.append(spz)

In [573]:
for iz in listen:
    print iz
    splist.append(iz.replace('-', ' '))

In [475]:
caplis = []

In [476]:
for caz in splist:
    caplis.append(str.capitalize(caz))

In [477]:
chars = []

In [478]:
for line in caplis:
    for c in line:
        chars.append(c)

In [479]:
for car in chars:
    print car

In [480]:
geolz = []

In [482]:
for iz in caplis:
    print iz
    geolz.append(geopy.Location(iz))

In [483]:
openhtm = open('index.html', 'r')


---------------------------------------------------------------------------
IOError                                   Traceback (most recent call last)
<ipython-input-483-d91c57ab47f2> in <module>()
----> 1 openhtm = open('index.html', 'r')

IOError: [Errno 2] No such file or directory: 'index.html'

In [484]:
mydoc = str(openhtm.read())

In [485]:
mydoc


Out[485]:
''

In [486]:
from bs4 import BeautifulSoup

In [487]:
cent = BeautifulSoup(mydoc)

In [488]:
ctent = cent.title

In [489]:
pcent = cent.find_all('p')

In [490]:
cenimg = cent.findAll('img')

In [491]:
import dominate
from dominate.tags import *

In [492]:
dominate.tags


Out[492]:
<module 'dominate.tags' from '/usr/local/lib/python2.7/dist-packages/dominate/tags.pyc'>

In [493]:
allcent = dominate.document(title='central')

In [494]:
with allcent.head:
    link(rel='stylesheet', href='style.css')
    script(type='text/javascript', scr='script.js')

In [495]:
(pcent)


Out[495]:
[]

In [496]:
for pcz in pcent:
    print pcz

In [497]:
for cen in cenimg:
    print cen

In [498]:
with allcent:
    with div(id='header').add(ol()):
        for i in listen:
            li(a(i.title(), href='/%s' % i))

    with div():
        attr(cls='body')
        #p(str(pcent))
        for pcz in pcent:
            p(pcz)
        #p(str(pcent))

In [499]:
print allcent


<!DOCTYPE html>
<html>
  <head>
    <title>central</title>
    <link href="style.css" rel="stylesheet">
    <script scr="script.js" type="text/javascript"></script>
  </head>
  <body>
    <div id="header">
      <ol></ol>
    </div>
    <div class="body"></div>
  </body>
</html>

In [564]:
mkhtm = open('test.html', 'w')
mkhtm.write(str(splist))
mkhtm.close()

In [565]:
cendict = {}

In [566]:
mynum = 0

In [567]:
splist


Out[567]:
[]

In [568]:
for iza in splist:
    if 'kindergarten' or 'centre' in iza:
        cendict.update({iza: mynum})
        mynum = (mynum + 1)

In [569]:
cendict


Out[569]:
{}

In [557]:
import re

In [505]:
a = re.sub('[.!,;]', 'bssdg!aassada.', a)


---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-505-4733a8327e3a> in <module>()
----> 1 a = re.sub('[.!,;]', 'bssdg!aassada.', a)

/usr/lib/python2.7/re.pyc in sub(pattern, repl, string, count, flags)
    149     a callable, it's passed the match object and must return
    150     a replacement string to be used."""
--> 151     return _compile(pattern, flags).sub(repl, string, count)
    152 
    153 def subn(pattern, repl, string, count=0, flags=0):

TypeError: expected string or buffer

In [506]:
re.sub()


---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-506-6ecb578667da> in <module>()
----> 1 re.sub()

TypeError: sub() takes at least 3 arguments (0 given)

In [507]:
s = 'A.B-!C?'
print s.translate(None, '" "'.join('-'))


A.B!C?

In [508]:
import string

specials = '-"/.' #etc
trans = string.maketrans(specials, ' '*len(specials))
#for line in file
cleanline = 'test'.translate(trans)

In [509]:
s = 'abc-d-ef ghijk'
s1 = s.replace('-', ' ')

dict. kindergartens: list all the kindergarten, centre: list all centre


In [510]:
os.listdir('/home/public/whai/imgs')


Out[510]:
[]

make folder of kindyname-index.html


In [512]:
os.removedirs('/home/public/central-test')


---------------------------------------------------------------------------
OSError                                   Traceback (most recent call last)
<ipython-input-512-7251458ec580> in <module>()
----> 1 os.removedirs('/home/public/central-test')

/usr/lib/python2.7/os.pyc in removedirs(name)
    168 
    169     """
--> 170     rmdir(name)
    171     head, tail = path.split(name)
    172     if not tail:

OSError: [Errno 39] Directory not empty: '/home/public/central-test'

In [513]:
cents = ('/home/public/central-test/centres')

In [514]:
os.mkdir('imgs')

In [515]:
os.listdir('/home/public/whai/imgs/')


Out[515]:
[]

In [516]:
osliz = []

In [517]:
os.chdir(cents)


---------------------------------------------------------------------------
OSError                                   Traceback (most recent call last)
<ipython-input-517-55e0d1dd8488> in <module>()
----> 1 os.chdir(cents)

OSError: [Errno 2] No such file or directory: '/home/public/central-test/centres'

this makes the centre folders


In [518]:
for oubz in listen:
    os.mkdir(oubz)

In [519]:
for oslis in listen:
    print oslis
    
    osliz.append(os.listdir('/home/public/whai/' + oslis))

In [520]:
osliz


Out[520]:
[]

In [521]:
finlis = []

In [522]:
for osl in osliz:
    finlis.append(osl)
    if 'index' in osl:
        print 'yes!'

In [523]:
indlis = []

In [524]:
for fin in finlis:
    if 'index' in fin:
        indlis.append(fin)

In [525]:
telis = []

In [526]:
for f in finlis:
    #print f
    for te in f:
        print te
        if 'index.html' or 'wp' in te:
            telis.append(te)

In [527]:
filis = []

In [528]:
for tez in telis:
    if '.' in tez:
        filis.append(tez)

In [529]:
filis


Out[529]:
[]

In [530]:
%%bash 
#!/bin/bash

# Add a user to the system, if they don't already exist. This script must be run as root.
# If the user exists in Stanford LDAP, we'll user their Stanford-wide UID. Otherwise,
# they get assigned a local UID that's outside the Stanford UID range.

# Copyright 2012 by Gunnaer Schaefer (gsfr@stanford.edu)  and Bob Dougherty (bobd@stanford.edu)

if [ ! $1 ]; then
    echo "Usage: $0 SUNetID"
    exit 999
fi

if id $1 &> /dev/null ; then
    if [ -z "`groups $1 | grep ipython`" ]; then
        /usr/sbin/adduser $1 ipython
    else
    	echo "User $1 already exists and is a member of the ipython group."
    fi
    exit 1
else
    ldapinfo=$(ldapsearch -x -h ldap.stanford.edu uid=$1)
    uid_num=$(echo "$ldapinfo" | grep uidNumber); uid_num=${uid_num##*: }
    firstname=$(echo "$ldapinfo" | grep suDisplayNameFirst); firstname=${firstname##*: }
    lastname=$(echo "$ldapinfo" | grep suDisplayNameLast); lastname=${lastname##*: }
    if [ -z $uid_num ]; then
        echo "User $1 does not exist in LDAP. Assigning a local UID."
        uid_num=$((`(echo 69999; cut -d':' -f3 /etc/passwd) | sort -n | tail -1` + 1))
    fi
    echo "Creating user $1 ($firstname $lastname, uid = $uid_num)..."
    /usr/sbin/adduser --disabled-password --uid $uid_num --gecos "$firstname $lastname" $1
    /usr/sbin/adduser $1 ipython
fi


Usage: bash SUNetID

In [530]:

makes folder - centre kindy - had folder of all kindys - inside of this is static blog - linked to main centre kindy blog. admin - roll generates a list of students at centre generates a list of teachers at centre warnings on ratio communication with other centre each centre has static page with info about each centre - open hours, list of teachers, job/opotunity, central kids os: linux debian 7 os locationed inside thieir folder. This is based off Debian7 (root7.tar.gz install7). All Central kids computers have this os. Unable to access certain areas outside of os (rsa ssh from inside central kids os into secure server) Ways to keep privacy safe i have no idea what im doing, but i hope something works!


In [531]:
os.chdir('/home/public/')

In [532]:
os.mkdir('central-test')


---------------------------------------------------------------------------
OSError                                   Traceback (most recent call last)
<ipython-input-532-3c768ff7bea5> in <module>()
----> 1 os.mkdir('central-test')

OSError: [Errno 17] File exists: 'central-test'

In [533]:
os.chdir('central-test')

In [581]:
import delican


---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-581-7c40fc6f607d> in <module>()
----> 1 import delican

ImportError: No module named delican

In [582]:
import tarfile

In [583]:
mytar = tarfile.TarFile('/home/public/central-test/centralblog.tar.gz')


---------------------------------------------------------------------------
IOError                                   Traceback (most recent call last)
<ipython-input-583-b555c5b1d271> in <module>()
----> 1 mytar = tarfile.TarFile('/home/public/central-test/centralblog.tar.gz')

/usr/lib/python2.7/tarfile.pyc in __init__(self, name, mode, fileobj, format, tarinfo, dereference, ignore_zeros, encoding, errors, pax_headers, debug, errorlevel)
   1520                 self.mode = "w"
   1521                 self._mode = "wb"
-> 1522             fileobj = bltn_open(name, self._mode)
   1523             self._extfileobj = False
   1524         else:

IOError: [Errno 2] No such file or directory: '/home/public/central-test/centralblog.tar.gz'

In [ ]:
import shutil

In [ ]:


In [ ]:
shutil.copytree('/home/public/central-test/central/' '/home/public/central-test/waipahihi-kindergarten/')

In [647]:
for ipz in os.listdir('/home/public/central-test'):
    #print ipz
    os.chdir('/home/public/central-test/' + ipz )
    cfpath, cfname = os.path.split(os.getcwd())
    print cfname
    
    os.chdir('/home/public/central-test')


tarrangower-kindergarten
paraonui-kindergarten
fairview-park-kindergarten
waipahihi-kindergarten
charles-kindergarten
tairua-kindergarten
mercury-bay-kindergarten
arohanui-kindergarten
edgecumbe-kindergarten
morrinsville-kindergarten
kihikihi-kindergarten
tokoroa-early-learning-centre
balmoral-kindergarten
matata-early-learning-centre
paeroa-kindergarten
morrinsville-early-learning-centre
northwood-kindergarten
central
fordlands-kindergarten
huntly-west-kindergarten
apanui-kindergarten
glenshea-kindergarten
thames-kindergarten
---------------------------------------------------------------------------
OSError                                   Traceback (most recent call last)
<ipython-input-647-7e654298382d> in <module>()
      1 for ipz in os.listdir('/home/public/central-test'):
      2     #print ipz
----> 3     os.chdir('/home/public/central-test/' + ipz )
      4     cfpath, cfname = os.path.split(os.getcwd())
      5     print cfname

OSError: [Errno 20] Not a directory: '/home/public/central-test/test.html'

In [585]:
import dominate

In [577]:
dominate.tags(p('test'))


---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-577-39091a23d22c> in <module>()
----> 1 dominate.tags(p('test'))

TypeError: 'module' object is not callable

In [578]:
current_folder_path, current_folder_name = os.path.split(os.getcwd())

In [579]:
current_folder_name


Out[579]:
'tarrangower-kindergarten'

In [580]:
centar = '/home/public/central.tar.gz'
centes = '/home/public/central-test/'

In [545]:
for imz in os.listdir('/home/public/central-test'):
    print imz
    os.chdir(imz)
    shutil.copyfile(centar, '/home/public/central-test/whaihanga-early-learning-centre/test.tar.gz')


tarrangower-kindergarten
paraonui-kindergarten
---------------------------------------------------------------------------
OSError                                   Traceback (most recent call last)
<ipython-input-545-44af71c4817c> in <module>()
      1 for imz in os.listdir('/home/public/central-test'):
      2     print imz
----> 3     os.chdir(imz)
      4     shutil.copyfile(centar, '/home/public/central-test/whaihanga-early-learning-centre/test.tar.gz')

OSError: [Errno 2] No such file or directory: 'paraonui-kindergarten'

In [546]:
logincos =


  File "<ipython-input-546-d3555ed85876>", line 1
    logincos =
               ^
SyntaxError: invalid syntax

In [547]:
os.urandom(512)


Out[547]:
"\xa9$R8\xcc\xe0\xde\xdc\xef\x99\x85\x97\xa9\xa0\x0f.\xeb\x16\xd1\xad\xf1\xe5\x8c\xad%f\xbe\xbb;\xfc\xf4:L\xc1PT\xed\xbdF\x96\xd8J\xe5\x88~\xa4\xb2\xf2\x80\x1c\xba\xda\xdb\xaf{\xccW\xda\xc3X\x9d\xd2\xe8\x92R\xba\n{Z5\x81\xd9\xa9\x8fMOI\x061\x83\x0f\x02\xf1\x8c@\x1c\xb20~\xd6\x91\xef\xcf\xcd\x0f\xb3u\x88\xc1\x96[\xd1\xf8h\xb2Bu\xcf\xc36\x83\xfeO\xeb\xd0M\xaa\xaeI\xf8\xcd\x00/\xa5\xf3wU\x0fHC\xa2,\xcb\x88\x99&\x96SZ\x08\x1di0\x86]\x98\xf1c\xa1A:\xbf\xea\x1b\xd3\xd6\xf7\x07\xe3h\xcbN&\xaa\xde\xd2\x14\x82\x9dO\xc3\x1e\xd3\x11\xa6f,\xd1\nJX\xffgl\xec@\xd3^\xb3!\xc7\x1al2\x02\x9c\xe3;;)eO\xea\xfb#\xd1\x1d\x07\x0f\xa3\xcc\xf8\x9f\xfc\x15M\xb8\x84\xe2\x91\x13\x9b\x0eX\xa7\xe3\x08lU=\x9a\xdddOz\x81\xfb\xf7\x80\xff%\xdb\xa8Xz\x0e\xe2\xfe\xc2h\xc4}\x01\xde\xeem\xc2\xd7\x87\x1a\xd5\xcf~\xf4\xd4~~\xd0\xda\xf7a\xdf\x81^\x9b\xa0LOFs\x92$C\xado\x81Ivf\xd8\x7f;A\xe7gX\x18\t\x88&\x92\xfea\xab^\x89\x94\xd6\xaazw^\xb2\xc0\xf4\x94Y\x9d\xa5\xbb7\xc8>s$\x161\xd7\xc2\x14\x1f\xea\x13\xa5Q!2\xdf\xc6\xe2_N\xb3\x13\x99\xe5\x8f6\xebo0O\x85\x13\xce\xf7\x00_r\xd6\xc3,y\x04\xa7\xf7\xf0\x1b\xeb\xd6\x0e\xfb\xf4\xf3s>\xd4\xb1\xfa\xb4W\x8e,\xd6wN\xc2fepH\xa6\xe0\xc5\xb7\x1b\xaf\xdb@q6\xb3C\xabG_\xd6\xfd\x9bGQ\\`o\xdc\x85\x97O]Z\xcc\x12\xfe\x9c\xd35\x1e\xf7Z\xfe\xe4\xbd\xa7Z\xba?/E\xc8\x14\x13!G-\x87\xe9*:\x16\xb49/n\x8dP_T\xa1`[\\^\xd8\x99\t\xaa\xf7\x14\x98\x8b\xe9\xc5;\xd4\xa5\x99\x90\x96\x8e\x8f\xb1\x90x\x7f\xe9G\xddzM\xc3\x88\x99\x96\xd5Y\xb6a\xbe+\xe7\x97p\xea\xfd\x83'\x88\xa5\x07N\x01\xf2"

In [548]:
import os

archive_name = os.path.expanduser(os.path.join('~', 'central'))
root_dir = os.path.expanduser(os.path.join('~', 'central-test/central'))
make_archive(archive_name, 'gztar', root_dir)


Out[548]:
'/home/public/central.tar.gz'

In [660]:


In [661]:
shutil.copyfile('/home/public/central.tar.gz', '/home/public/central-test/whaihanga-early-learning-centre/test.tar.gz')

In [663]:
import tarfile
 
# tar file to extract
theTarFile = ('/home/public/central-test/whaihanga-early-learning-centre/test.tar.gz')
 
# tar file path to extract
extractTarPath = ('/home/public/central-test/whaihanga-early-learning-centre/')
 
# open the tar file
tfile = tarfile.open(theTarFile)
 
if tarfile.is_tarfile(theTarFile):
    # list all contents
    print "tar file contents:"
    print tfile.list(verbose=False)
    # extract all contents
    for imz in os.listdir('/home/public/central-test'):
        print imz
        #os.chdir(imz)
        #shutil.copyfile(tfile, '/home/public/central-test/' + imz + '/test.tar.gz')
        tfile.extractall('/home/public/central-test/' + imz)
else:
    print theTarFile + " is not a tarfile."


tar file contents:
./
./css/
./css/handheld.css
./css/grid.css
./css/style.css
./js/
./js/libs/
./js/libs/jquery-1.5.1.min.js
./js/libs/dd_belatedpng.js
./js/libs/modernizr-1.7.min.js
./js/site.js
./js/plugins.js
./js/jquery.tweet.js
./crossdomain.xml
./_config.pyc
./img/
./img/apple-touch-icon.png
./robots.txt
./favicon.ico
./_htaccess
./_templates/
./_templates/base.mako
./_templates/header.mako
./_templates/blog/
./_templates/blog/post.mako
./_templates/blog/permapage.mako
./_templates/blog/atom.mako
./_templates/blog/chronological.mako
./_templates/blog/rss.mako
./_templates/blog/archive_index.mako
./_templates/blog/post_excerpt.mako
./_templates/head.mako
./_templates/theme.mako
./_templates/body_scripts.mako
./_templates/footer.mako
./_templates/site.mako
./_templates/sidebar.mako
./themes/
./themes/theme1/
./themes/theme1/style.css
./index.html.mako
./_posts/
./_posts/000 - filler2.markdown
./_posts/000 - filler1.markdown
./_posts/008 - post 8 - syntax highlight.markdown
./_posts/003 - unpublished draft.markdown
./_posts/000 - filler3.markdown
./_posts/000 - filler4.markdown
./_posts/001 - post 1.markdown
./_posts/007 - unicode test.markdown
./_posts/002 - post 2.markdown
./_config.py
./404.html
./_site/
./_site/css/
./_site/css/handheld.css
./_site/css/grid.css
./_site/css/style.css
./_site/css/pygments_murphy.css
./_site/js/
./_site/js/libs/
./_site/js/libs/jquery-1.5.1.min.js
./_site/js/libs/dd_belatedpng.js
./_site/js/libs/modernizr-1.7.min.js
./_site/js/site.js
./_site/js/plugins.js
./_site/js/jquery.tweet.js
./_site/crossdomain.xml
./_site/img/
./_site/img/apple-touch-icon.png
./_site/blog/
./_site/blog/archive/
./_site/blog/archive/2011/
./_site/blog/archive/2011/05/
./_site/blog/archive/2011/05/1/
./_site/blog/archive/2011/05/1/index.html
./_site/blog/archive/index.html
./_site/blog/archive/2010/
./_site/blog/archive/2010/06/
./_site/blog/archive/2010/06/1/
./_site/blog/archive/2010/06/1/index.html
./_site/blog/archive/2010/07/
./_site/blog/archive/2010/07/1/
./_site/blog/archive/2010/07/1/index.html
./_site/blog/feed/
./_site/blog/feed/index.xml
./_site/blog/feed/atom/
./_site/blog/feed/atom/index.xml
./_site/blog/page/
./_site/blog/page/2/
./_site/blog/page/2/index.html
./_site/blog/page/1/
./_site/blog/page/1/index.html
./_site/blog/2011/
./_site/blog/2011/02/
./_site/blog/2011/02/27/
./_site/blog/2011/02/27/unpublished-draft/
./_site/blog/2011/02/27/unpublished-draft/index.html
./_site/blog/2011/05/
./_site/blog/2011/05/11/
./_site/blog/2011/05/11/syntax-highlight-test/
./_site/blog/2011/05/11/syntax-highlight-test/index.html
./_site/blog/2011/05/10/
./_site/blog/2011/05/10/post-3-unicode-test-how-about-some-ri-ben-yu-tesuto/
./_site/blog/2011/05/10/post-3-unicode-test-how-about-some-ri-ben-yu-tesuto/index.html
./_site/blog/index.html
./_site/blog/category/
./_site/blog/category/category-2/
./_site/blog/category/category-2/feed/
./_site/blog/category/category-2/feed/index.xml
./_site/blog/category/category-2/feed/atom/
./_site/blog/category/category-2/feed/atom/index.xml
./_site/blog/category/category-2/1/
./_site/blog/category/category-2/1/index.html
./_site/blog/category/category-2/index.html
./_site/blog/category/unicode/
./_site/blog/category/unicode/feed/
./_site/blog/category/unicode/feed/index.xml
./_site/blog/category/unicode/feed/atom/
./_site/blog/category/unicode/feed/atom/index.xml
./_site/blog/category/unicode/1/
./_site/blog/category/unicode/1/index.html
./_site/blog/category/unicode/index.html
./_site/blog/category/category-1/
./_site/blog/category/category-1/feed/
./_site/blog/category/category-1/feed/index.xml
./_site/blog/category/category-1/feed/atom/
./_site/blog/category/category-1/feed/atom/index.xml
./_site/blog/category/category-1/1/
./_site/blog/category/category-1/1/index.html
./_site/blog/category/category-1/index.html
./_site/blog/category/general-stuff/
./_site/blog/category/general-stuff/feed/
./_site/blog/category/general-stuff/feed/index.xml
./_site/blog/category/general-stuff/feed/atom/
./_site/blog/category/general-stuff/feed/atom/index.xml
./_site/blog/category/general-stuff/1/
./_site/blog/category/general-stuff/1/index.html
./_site/blog/category/general-stuff/index.html
./_site/blog/2010/
./_site/blog/2010/06/
./_site/blog/2010/06/29/
./_site/blog/2010/06/29/filler-post-4/
./_site/blog/2010/06/29/filler-post-4/index.html
./_site/blog/2010/06/29/filler-post-3/
./_site/blog/2010/06/29/filler-post-3/index.html
./_site/blog/2010/06/29/filler-post-1/
./_site/blog/2010/06/29/filler-post-1/index.html
./_site/blog/2010/06/29/filler-post-2/
./_site/blog/2010/06/29/filler-post-2/index.html
./_site/blog/2010/07/
./_site/blog/2010/07/23/
./_site/blog/2010/07/23/post-1/
./_site/blog/2010/07/23/post-1/index.html
./_site/blog/2010/07/24/
./_site/blog/2010/07/24/post-2/
./_site/blog/2010/07/24/post-2/index.html
./_site/robots.txt
./_site/favicon.ico
./_site/themes/
./_site/themes/theme1/
./_site/themes/theme1/style.css
./_site/index.html
./_site/404.html
None
tarrangower-kindergarten
paraonui-kindergarten
fairview-park-kindergarten
waipahihi-kindergarten
charles-kindergarten
tairua-kindergarten
mercury-bay-kindergarten
arohanui-kindergarten
edgecumbe-kindergarten
morrinsville-kindergarten
kihikihi-kindergarten
tokoroa-early-learning-centre
balmoral-kindergarten
matata-early-learning-centre
paeroa-kindergarten
morrinsville-early-learning-centre
northwood-kindergarten
central
fordlands-kindergarten
huntly-west-kindergarten
apanui-kindergarten
glenshea-kindergarten
thames-kindergarten
rawhiti-kindergarten
hinemoa-kindergarten
garaway-kindergarten
rushton-road-kindergarten
helen-downer-kindergarten
reporoa-kindergarten
paraone-kindergarten
jackson-park-kindergarten
te-akoranga-kindergarten
hazelmere-kindergarten
owhata-kindergarten
elstree-kindergarten
taumarunui-early-learning-centre
ngatea-kindergarten
ngongotaha-kindergarten
putauaki-kindergarten
kindergartens
huntly-kindergarten
david-henry-kindergarten
otorohanga-kindergarten
homedale-kindergarten
mill-crescent-kindergarten
dinsdale-early-learning-centre
selwyn-kindergarten
turangi-kindergarten
golden-sands-early-learning-centre
laughton-kindergarten
rotorua-east-kindergarten
clyde-street-kindergarten
strathmore-kindergarten
opotiki-kindergarten
whaihanga-early-learning-centre
nga-ririki-early-learning-centre
te-kuiti-kindergarten
imgs
early-learning-centres
rewi-street-kindergarten

In [555]:
cendict


Out[555]:
{}

Parse the blog, because - why not?


In [588]:
import feedparser

In [589]:
cenblog = feedparser.parse('http://feeds.feedburner.com/CentralKidsKindergartens')

In [ ]:
http://feeds.feedburner.com/CentralKidsKindergartens

In [596]:
lenblog = len(cenblog['entries'])

In [597]:
lenblog


Out[597]:
10

I want to write the blog posts to html file with dominate. it needs to take the print cen['title', ['updated'], ['summary_details'] etc... and make it be be formated nice in html.


In [637]:
blogplz = dominate.document(title='Centre Kids News')

with doc.head:
    link(rel='stylesheet', href='style.css')
    script(type='text/javascript', src='script.js')

with blogplz:
    with div(id='header').add(ol()):
        for cen in cenblog['entries']:
            #print cen
            print cen['title']
            li(a(cen['title'](), href='/%s.html' % cen['title']))
            print cen['updated']
            li(a(cen['updated'](), href='/%s.html' % cen['updated']))
            print cen['summary_detail']['value']
            li(a(cen['summary_detail'](), href='/%s.html' % cen['summary_detail']))
            print cen['author']
            li(a(cen['author'](), href='/%s.html' % cen['author']))
        #for i in ['home', 'about', 'contact']:
        #    li(a(i.title(), href='/%s.html' % i))

    with div():
        attr(cls='body')
        p('Lorem ipsum..')

print blogplz


Did You Know?
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-637-74929c038431> in <module>()
     10             #print cen
     11             print cen['title']
---> 12             li(a(cen['title'](), href='/%s.html' % cen['title']))
     13             print cen['updated']
     14             li(a(cen['updated'](), href='/%s.html' % cen['updated']))

TypeError: 'unicode' object is not callable

In [621]:
tilis = []

In [623]:
tilis


Out[623]:
[u'Did You Know?',
 u'Sun, 13 Jul 2014 22:34:42 +0000',
 u'Play is the highest expression of human development in childhood, for it alone is the free expression of what is in a child&#8217;s soul. Frederick Froebel',
 u'Central Kids',
 u'New operating hours for Central Kids Mill Crescent',
 u'Sun, 18 May 2014 23:25:45 +0000',
 u'As of Wednesday, 21st May 2014 Central Kids Mill Crescent in Matamata will be offering a 6 hour session every Wednesday. Our hours will be Monday to Friday 8.45am &#8211; 2.45pm. This change has come about through feedback from a &#8230; <a href="http://centralkids.org.nz/blog/new-operating-hours-central-kids-mill-crescent/">Continue reading <span class="meta-nav">&#8594;</span></a>',
 u'Central Kids',
 u'Kia Tiaho \u2013 P\u0101nui #8, April 2014',
 u'Sun, 27 Apr 2014 23:12:58 +0000',
 u'To read the latest issue of Kia Tiaho, bringing our news and views to light \u2013\xa0Click here Features articles from: Roma Angel-Verlinden &#124; Central Kids Reporoa Central Kids Balmoral Central Kids Otorohanga Plus more\u2026\u2026\u2026\u2026..',
 u'Central Kids',
 u'Administrative Professionals Day',
 u'Tue, 15 Apr 2014 20:58:31 +0000',
 u'Central Kids would like to thank all of our Administrators for their hard work throughout the year. We appreciate your positive approach and your attention to detail; you make a real contribution to our organisation. Thank you for all that &#8230; <a href="http://centralkids.org.nz/blog/administrative-professionals-day/">Continue reading <span class="meta-nav">&#8594;</span></a>',
 u'Central Kids',
 u'Holi Celebrations \u2013 the festival of colours',
 u'Tue, 08 Apr 2014 02:14:31 +0000',
 u'One of our Indian families asked if they could share the celebration of Holi with the children at kindergarten. They said it was a fun experience where we could paint faces with powder paint and wish joy upon each other. &#8230; <a href="http://centralkids.org.nz/blog/holi-celebrations-festival-colours/">Continue reading <span class="meta-nav">&#8594;</span></a>',
 u'Central Kids',
 u'New Graduate in Head Office',
 u'Mon, 31 Mar 2014 22:57:38 +0000',
 u'Congratulations to Jenny Perry who recently graduated with the Diploma of Landscaping from WINTEC. Jenny is Planning Assistant to Barbara Lingard and she assists with playground plan drawing and auditing.\xa0 She completed her diploma over the past 4 years as &#8230; <a href="http://centralkids.org.nz/blog/new-grad/">Continue reading <span class="meta-nav">&#8594;</span></a>',
 u'Central Kids',
 u'Exciting news for three Rotorua kindergartens',
 u'Mon, 24 Mar 2014 20:09:23 +0000',
 u'Recently families and\xa0wh\u0101nau from three Rotorua kindergartens; Central Kids Homedale, Helen Downer and\xa0Ngongotah\u0101\xa0were surveyed on their opening hours. The response was that the majority wanted extended hours on Wednesdays. \xa0To meet the needs of our communities we are happy to &#8230; <a href="http://centralkids.org.nz/blog/exciting-new-three-rotorua-kindergartens/">Continue reading <span class="meta-nav">&#8594;</span></a>',
 u'Central Kids',
 u'New operating hours for Central Kids Tairua',
 u'Mon, 17 Mar 2014 21:37:47 +0000',
 u'Last year we surveyed our families and wh\u0101nau on our opening hours.\xa0 The response was, the majority of families wanted extended hours on Wednesday and for us to remain open during the term breaks. To meet the needs of our &#8230; <a href="http://centralkids.org.nz/blog/new-operating-hours-central-kids-tairua/">Continue reading <span class="meta-nav">&#8594;</span></a>',
 u'Central Kids',
 u'Head Office welcomes Alison Flutey',
 u'Wed, 12 Mar 2014 03:17:15 +0000',
 u'Kia Ora I\u2019m Alison Flutey \u2013 I have been seconded to be an incredible Years Facilitator for Central Kids. I\u2019ve been kindergarten teaching for approximately 25 years and have been a Head Teacher since 2007 at Central Kids David Henry &#8230; <a href="http://centralkids.org.nz/blog/head-office-welcomes-alison-flutey/">Continue reading <span class="meta-nav">&#8594;</span></a>',
 u'Central Kids',
 u'National Children\u2019s Day is\u2026\u2026\u2026\u2026',
 u'Thu, 27 Feb 2014 23:57:44 +0000',
 u'National Children&#8217;s Day is Ice Cream Day for Central Kids Huntly West. National Children\u2019s Day is the first Sunday of March. So today we celebrated it by having ice cream as a treat for the kids. We did not buy &#8230; <a href="http://centralkids.org.nz/blog/national-childrens-day/">Continue reading <span class="meta-nav">&#8594;</span></a>',
 u'Central Kids']

In [622]:
with allcent:
    with div(id='header').add(ol()):
        for i in listen:
            li(a(i.title(), href='/%s' % i))

    with div():
        attr(cls='body')
        #p(str(pcent))
        for cen in cenblog['entries']:
            #print cen
            print cen['title']
            tilis.append(cen['title'])
            print cen['updated']
            tilis.append(cen['updated'])
            print cen['summary_detail']['value']
            tilis.append(cen['summary_detail']['value'])
            print cen['author']
            tilis.append(cen['author'])

    #print cen['value']
        #p(str(pcent))
        
    with div():
        fo


Did You Know?
Sun, 13 Jul 2014 22:34:42 +0000
Play is the highest expression of human development in childhood, for it alone is the free expression of what is in a child&#8217;s soul. Frederick Froebel
Central Kids
New operating hours for Central Kids Mill Crescent
Sun, 18 May 2014 23:25:45 +0000
As of Wednesday, 21st May 2014 Central Kids Mill Crescent in Matamata will be offering a 6 hour session every Wednesday. Our hours will be Monday to Friday 8.45am &#8211; 2.45pm. This change has come about through feedback from a &#8230; <a href="http://centralkids.org.nz/blog/new-operating-hours-central-kids-mill-crescent/">Continue reading <span class="meta-nav">&#8594;</span></a>
Central Kids
Kia Tiaho – Pānui #8, April 2014
Sun, 27 Apr 2014 23:12:58 +0000
To read the latest issue of Kia Tiaho, bringing our news and views to light – Click here Features articles from: Roma Angel-Verlinden &#124; Central Kids Reporoa Central Kids Balmoral Central Kids Otorohanga Plus more…………..
Central Kids
Administrative Professionals Day
Tue, 15 Apr 2014 20:58:31 +0000
Central Kids would like to thank all of our Administrators for their hard work throughout the year. We appreciate your positive approach and your attention to detail; you make a real contribution to our organisation. Thank you for all that &#8230; <a href="http://centralkids.org.nz/blog/administrative-professionals-day/">Continue reading <span class="meta-nav">&#8594;</span></a>
Central Kids
Holi Celebrations – the festival of colours
Tue, 08 Apr 2014 02:14:31 +0000
One of our Indian families asked if they could share the celebration of Holi with the children at kindergarten. They said it was a fun experience where we could paint faces with powder paint and wish joy upon each other. &#8230; <a href="http://centralkids.org.nz/blog/holi-celebrations-festival-colours/">Continue reading <span class="meta-nav">&#8594;</span></a>
Central Kids
New Graduate in Head Office
Mon, 31 Mar 2014 22:57:38 +0000
Congratulations to Jenny Perry who recently graduated with the Diploma of Landscaping from WINTEC. Jenny is Planning Assistant to Barbara Lingard and she assists with playground plan drawing and auditing.  She completed her diploma over the past 4 years as &#8230; <a href="http://centralkids.org.nz/blog/new-grad/">Continue reading <span class="meta-nav">&#8594;</span></a>
Central Kids
Exciting news for three Rotorua kindergartens
Mon, 24 Mar 2014 20:09:23 +0000
Recently families and whānau from three Rotorua kindergartens; Central Kids Homedale, Helen Downer and Ngongotahā were surveyed on their opening hours. The response was that the majority wanted extended hours on Wednesdays.  To meet the needs of our communities we are happy to &#8230; <a href="http://centralkids.org.nz/blog/exciting-new-three-rotorua-kindergartens/">Continue reading <span class="meta-nav">&#8594;</span></a>
Central Kids
New operating hours for Central Kids Tairua
Mon, 17 Mar 2014 21:37:47 +0000
Last year we surveyed our families and whānau on our opening hours.  The response was, the majority of families wanted extended hours on Wednesday and for us to remain open during the term breaks. To meet the needs of our &#8230; <a href="http://centralkids.org.nz/blog/new-operating-hours-central-kids-tairua/">Continue reading <span class="meta-nav">&#8594;</span></a>
Central Kids
Head Office welcomes Alison Flutey
Wed, 12 Mar 2014 03:17:15 +0000
Kia Ora I’m Alison Flutey – I have been seconded to be an incredible Years Facilitator for Central Kids. I’ve been kindergarten teaching for approximately 25 years and have been a Head Teacher since 2007 at Central Kids David Henry &#8230; <a href="http://centralkids.org.nz/blog/head-office-welcomes-alison-flutey/">Continue reading <span class="meta-nav">&#8594;</span></a>
Central Kids
National Children’s Day is…………
Thu, 27 Feb 2014 23:57:44 +0000
National Children&#8217;s Day is Ice Cream Day for Central Kids Huntly West. National Children’s Day is the first Sunday of March. So today we celebrated it by having ice cream as a treat for the kids. We did not buy &#8230; <a href="http://centralkids.org.nz/blog/national-childrens-day/">Continue reading <span class="meta-nav">&#8594;</span></a>
Central Kids
---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)
<ipython-input-622-2be207d1d2b8> in <module>()
     22 
     23     with div():
---> 24         fo

NameError: name 'fo' is not defined

In [638]:
def getallpost():
    for cen in cenblog['entries']:
        #print cen
        print cen['title']
        print cen['updated']
        print cen['summary_detail']['value']
        print cen['author']

    #print cen['value']

In [648]:
%%javascript
<script type='text/javascript' src='http://centralkids.org.nz/wp-content/plugins/wp-google-maps/js/jquery.dataTables.js?ver=3.9.1'></script>
<script type='text/javascript'>
/* <![CDATA[ */
var wpgmaps_localize = {"1":{"id":"1","map_title":"Central North Island Region Map","map_width":"940","map_height":"1100","map_start_lat":"-37.888943","map_start_lng":"176.264919","map_start_location":"-37.88894301874612,176.26491864062496","map_start_zoom":"9","default_marker":"","type":"1","alignment":"1","directions_enabled":"2","styling_enabled":"0","styling_json":"","active":"0","kml":"","bicycle":"2","traffic":"2","dbox":"1","dbox_width":"","listmarkers":"0","listmarkers_advanced":"0","ugm_enabled":"0","fusion":"","map_width_type":"px","map_height_type":"px","mass_marker_support":"1","filterbycat":"0","ugm_access":"0","order_markers_by":"1","order_markers_choice":"2","show_user_location":"2","ugm_category_enabled":"0","default_to":"","other_settings":""}};
var wpgmaps_localize_mashup_ids = null;
var wpgmaps_localize_cat_ids = {"1":"all"};
var wpgmaps_localize_global_settings = {"wpgmza_settings_image_width":"100","wpgmza_settings_image_height":"100","wpgmza_settings_use_timthumb":"","wpgmza_settings_infowindow_width":"200","wpgmza_settings_infowindow_links":"","wpgmza_settings_infowindow_address":"","wpgmza_settings_infowindow_link_text":"More details","wpgmza_settings_map_streetview":"","wpgmza_settings_map_zoom":"","wpgmza_settings_map_pan":"","wpgmza_settings_map_type":"","wpgmza_settings_map_scroll":"","wpgmza_settings_map_draggable":"","wpgmza_settings_map_clickzoom":"","wpgmza_settings_ugm_striptags":"","wpgmza_settings_force_jquery":"yes","wpgmza_settings_markerlist_category":"","wpgmza_settings_markerlist_icon":"","wpgmza_settings_markerlist_title":"","wpgmza_settings_markerlist_address":"","wpgmza_settings_markerlist_description":""};
var wpgmaps_localize_polygon_settings = [];
var wpgmaps_localize_polyline_settings = [];
/* ]]> */
</script>
<script type='text/javascript' src='http://centralkids.org.nz/wp-content/plugins/wp-google-maps-pro/js/core.js?ver=5.27p'></script>



In [646]:
getallpost()


Did You Know?
Sun, 13 Jul 2014 22:34:42 +0000
Play is the highest expression of human development in childhood, for it alone is the free expression of what is in a child&#8217;s soul. Frederick Froebel
Central Kids
New operating hours for Central Kids Mill Crescent
Sun, 18 May 2014 23:25:45 +0000
As of Wednesday, 21st May 2014 Central Kids Mill Crescent in Matamata will be offering a 6 hour session every Wednesday. Our hours will be Monday to Friday 8.45am &#8211; 2.45pm. This change has come about through feedback from a &#8230; <a href="http://centralkids.org.nz/blog/new-operating-hours-central-kids-mill-crescent/">Continue reading <span class="meta-nav">&#8594;</span></a>
Central Kids
Kia Tiaho – Pānui #8, April 2014
Sun, 27 Apr 2014 23:12:58 +0000
To read the latest issue of Kia Tiaho, bringing our news and views to light – Click here Features articles from: Roma Angel-Verlinden &#124; Central Kids Reporoa Central Kids Balmoral Central Kids Otorohanga Plus more…………..
Central Kids
Administrative Professionals Day
Tue, 15 Apr 2014 20:58:31 +0000
Central Kids would like to thank all of our Administrators for their hard work throughout the year. We appreciate your positive approach and your attention to detail; you make a real contribution to our organisation. Thank you for all that &#8230; <a href="http://centralkids.org.nz/blog/administrative-professionals-day/">Continue reading <span class="meta-nav">&#8594;</span></a>
Central Kids
Holi Celebrations – the festival of colours
Tue, 08 Apr 2014 02:14:31 +0000
One of our Indian families asked if they could share the celebration of Holi with the children at kindergarten. They said it was a fun experience where we could paint faces with powder paint and wish joy upon each other. &#8230; <a href="http://centralkids.org.nz/blog/holi-celebrations-festival-colours/">Continue reading <span class="meta-nav">&#8594;</span></a>
Central Kids
New Graduate in Head Office
Mon, 31 Mar 2014 22:57:38 +0000
Congratulations to Jenny Perry who recently graduated with the Diploma of Landscaping from WINTEC. Jenny is Planning Assistant to Barbara Lingard and she assists with playground plan drawing and auditing.  She completed her diploma over the past 4 years as &#8230; <a href="http://centralkids.org.nz/blog/new-grad/">Continue reading <span class="meta-nav">&#8594;</span></a>
Central Kids
Exciting news for three Rotorua kindergartens
Mon, 24 Mar 2014 20:09:23 +0000
Recently families and whānau from three Rotorua kindergartens; Central Kids Homedale, Helen Downer and Ngongotahā were surveyed on their opening hours. The response was that the majority wanted extended hours on Wednesdays.  To meet the needs of our communities we are happy to &#8230; <a href="http://centralkids.org.nz/blog/exciting-new-three-rotorua-kindergartens/">Continue reading <span class="meta-nav">&#8594;</span></a>
Central Kids
New operating hours for Central Kids Tairua
Mon, 17 Mar 2014 21:37:47 +0000
Last year we surveyed our families and whānau on our opening hours.  The response was, the majority of families wanted extended hours on Wednesday and for us to remain open during the term breaks. To meet the needs of our &#8230; <a href="http://centralkids.org.nz/blog/new-operating-hours-central-kids-tairua/">Continue reading <span class="meta-nav">&#8594;</span></a>
Central Kids
Head Office welcomes Alison Flutey
Wed, 12 Mar 2014 03:17:15 +0000
Kia Ora I’m Alison Flutey – I have been seconded to be an incredible Years Facilitator for Central Kids. I’ve been kindergarten teaching for approximately 25 years and have been a Head Teacher since 2007 at Central Kids David Henry &#8230; <a href="http://centralkids.org.nz/blog/head-office-welcomes-alison-flutey/">Continue reading <span class="meta-nav">&#8594;</span></a>
Central Kids
National Children’s Day is…………
Thu, 27 Feb 2014 23:57:44 +0000
National Children&#8217;s Day is Ice Cream Day for Central Kids Huntly West. National Children’s Day is the first Sunday of March. So today we celebrated it by having ice cream as a treat for the kids. We did not buy &#8230; <a href="http://centralkids.org.nz/blog/national-childrens-day/">Continue reading <span class="meta-nav">&#8594;</span></a>
Central Kids

In [598]:
cenblog['entries']


Out[598]:
[{'author': u'Central Kids',
  'author_detail': {'name': u'Central Kids'},
  'authors': [{}],
  'comments': u'http://centralkids.org.nz/blog/know/#comments',
  'guidislink': False,
  'id': u'http://centralkids.org.nz/?p=2164',
  'link': u'http://centralkids.org.nz/blog/know/',
  'links': [{'href': u'http://centralkids.org.nz/blog/know/',
    'rel': u'alternate',
    'type': u'text/html'}],
  'slash_comments': u'0',
  'summary': u'Play is the highest expression of human development in childhood, for it alone is the free expression of what is in a child&#8217;s soul. Frederick Froebel',
  'summary_detail': {'base': u'http://feeds.feedburner.com/CentralKidsKindergartens',
   'language': None,
   'type': u'text/html',
   'value': u'Play is the highest expression of human development in childhood, for it alone is the free expression of what is in a child&#8217;s soul. Frederick Froebel'},
  'tags': [{'label': None, 'scheme': None, 'term': u'General home page'}],
  'title': u'Did You Know?',
  'title_detail': {'base': u'http://feeds.feedburner.com/CentralKidsKindergartens',
   'language': None,
   'type': u'text/plain',
   'value': u'Did You Know?'},
  'updated': u'Sun, 13 Jul 2014 22:34:42 +0000',
  'updated_parsed': time.struct_time(tm_year=2014, tm_mon=7, tm_mday=13, tm_hour=22, tm_min=34, tm_sec=42, tm_wday=6, tm_yday=194, tm_isdst=0),
  'wfw_commentrss': u'http://centralkids.org.nz/blog/know/feed/'},
 {'author': u'Central Kids',
  'author_detail': {'name': u'Central Kids'},
  'authors': [{}],
  'comments': u'http://centralkids.org.nz/blog/new-operating-hours-central-kids-mill-crescent/#comments',
  'guidislink': False,
  'id': u'http://centralkids.org.nz/?p=1982',
  'link': u'http://centralkids.org.nz/blog/new-operating-hours-central-kids-mill-crescent/',
  'links': [{'href': u'http://centralkids.org.nz/blog/new-operating-hours-central-kids-mill-crescent/',
    'rel': u'alternate',
    'type': u'text/html'}],
  'slash_comments': u'0',
  'summary': u'As of Wednesday, 21st May 2014 Central Kids Mill Crescent in Matamata will be offering a 6 hour session every Wednesday. Our hours will be Monday to Friday 8.45am &#8211; 2.45pm. This change has come about through feedback from a &#8230; <a href="http://centralkids.org.nz/blog/new-operating-hours-central-kids-mill-crescent/">Continue reading <span class="meta-nav">&#8594;</span></a>',
  'summary_detail': {'base': u'http://feeds.feedburner.com/CentralKidsKindergartens',
   'language': None,
   'type': u'text/html',
   'value': u'As of Wednesday, 21st May 2014 Central Kids Mill Crescent in Matamata will be offering a 6 hour session every Wednesday. Our hours will be Monday to Friday 8.45am &#8211; 2.45pm. This change has come about through feedback from a &#8230; <a href="http://centralkids.org.nz/blog/new-operating-hours-central-kids-mill-crescent/">Continue reading <span class="meta-nav">&#8594;</span></a>'},
  'tags': [{'label': None, 'scheme': None, 'term': u'News'}],
  'title': u'New operating hours for Central Kids Mill Crescent',
  'title_detail': {'base': u'http://feeds.feedburner.com/CentralKidsKindergartens',
   'language': None,
   'type': u'text/plain',
   'value': u'New operating hours for Central Kids Mill Crescent'},
  'updated': u'Sun, 18 May 2014 23:25:45 +0000',
  'updated_parsed': time.struct_time(tm_year=2014, tm_mon=5, tm_mday=18, tm_hour=23, tm_min=25, tm_sec=45, tm_wday=6, tm_yday=138, tm_isdst=0),
  'wfw_commentrss': u'http://centralkids.org.nz/blog/new-operating-hours-central-kids-mill-crescent/feed/'},
 {'author': u'Central Kids',
  'author_detail': {'name': u'Central Kids'},
  'authors': [{}],
  'comments': u'http://centralkids.org.nz/blog/kia-tiaho-panui-8-april-2014/#comments',
  'guidislink': False,
  'id': u'http://centralkids.org.nz/?p=1903',
  'link': u'http://centralkids.org.nz/blog/kia-tiaho-panui-8-april-2014/',
  'links': [{'href': u'http://centralkids.org.nz/blog/kia-tiaho-panui-8-april-2014/',
    'rel': u'alternate',
    'type': u'text/html'}],
  'slash_comments': u'0',
  'summary': u'To read the latest issue of Kia Tiaho, bringing our news and views to light \u2013\xa0Click here Features articles from: Roma Angel-Verlinden &#124; Central Kids Reporoa Central Kids Balmoral Central Kids Otorohanga Plus more\u2026\u2026\u2026\u2026..',
  'summary_detail': {'base': u'http://feeds.feedburner.com/CentralKidsKindergartens',
   'language': None,
   'type': u'text/html',
   'value': u'To read the latest issue of Kia Tiaho, bringing our news and views to light \u2013\xa0Click here Features articles from: Roma Angel-Verlinden &#124; Central Kids Reporoa Central Kids Balmoral Central Kids Otorohanga Plus more\u2026\u2026\u2026\u2026..'},
  'tags': [{'label': None, 'scheme': None, 'term': u'News'}],
  'title': u'Kia Tiaho \u2013 P\u0101nui #8, April 2014',
  'title_detail': {'base': u'http://feeds.feedburner.com/CentralKidsKindergartens',
   'language': None,
   'type': u'text/plain',
   'value': u'Kia Tiaho \u2013 P\u0101nui #8, April 2014'},
  'updated': u'Sun, 27 Apr 2014 23:12:58 +0000',
  'updated_parsed': time.struct_time(tm_year=2014, tm_mon=4, tm_mday=27, tm_hour=23, tm_min=12, tm_sec=58, tm_wday=6, tm_yday=117, tm_isdst=0),
  'wfw_commentrss': u'http://centralkids.org.nz/blog/kia-tiaho-panui-8-april-2014/feed/'},
 {'author': u'Central Kids',
  'author_detail': {'name': u'Central Kids'},
  'authors': [{}],
  'comments': u'http://centralkids.org.nz/blog/administrative-professionals-day/#comments',
  'guidislink': False,
  'id': u'http://centralkids.org.nz/?p=1887',
  'link': u'http://centralkids.org.nz/blog/administrative-professionals-day/',
  'links': [{'href': u'http://centralkids.org.nz/blog/administrative-professionals-day/',
    'rel': u'alternate',
    'type': u'text/html'}],
  'slash_comments': u'0',
  'summary': u'Central Kids would like to thank all of our Administrators for their hard work throughout the year. We appreciate your positive approach and your attention to detail; you make a real contribution to our organisation. Thank you for all that &#8230; <a href="http://centralkids.org.nz/blog/administrative-professionals-day/">Continue reading <span class="meta-nav">&#8594;</span></a>',
  'summary_detail': {'base': u'http://feeds.feedburner.com/CentralKidsKindergartens',
   'language': None,
   'type': u'text/html',
   'value': u'Central Kids would like to thank all of our Administrators for their hard work throughout the year. We appreciate your positive approach and your attention to detail; you make a real contribution to our organisation. Thank you for all that &#8230; <a href="http://centralkids.org.nz/blog/administrative-professionals-day/">Continue reading <span class="meta-nav">&#8594;</span></a>'},
  'tags': [{'label': None, 'scheme': None, 'term': u'News'}],
  'title': u'Administrative Professionals Day',
  'title_detail': {'base': u'http://feeds.feedburner.com/CentralKidsKindergartens',
   'language': None,
   'type': u'text/plain',
   'value': u'Administrative Professionals Day'},
  'updated': u'Tue, 15 Apr 2014 20:58:31 +0000',
  'updated_parsed': time.struct_time(tm_year=2014, tm_mon=4, tm_mday=15, tm_hour=20, tm_min=58, tm_sec=31, tm_wday=1, tm_yday=105, tm_isdst=0),
  'wfw_commentrss': u'http://centralkids.org.nz/blog/administrative-professionals-day/feed/'},
 {'author': u'Central Kids',
  'author_detail': {'name': u'Central Kids'},
  'authors': [{}],
  'comments': u'http://centralkids.org.nz/blog/holi-celebrations-festival-colours/#comments',
  'guidislink': False,
  'id': u'http://centralkids.org.nz/?p=1864',
  'link': u'http://centralkids.org.nz/blog/holi-celebrations-festival-colours/',
  'links': [{'href': u'http://centralkids.org.nz/blog/holi-celebrations-festival-colours/',
    'rel': u'alternate',
    'type': u'text/html'}],
  'slash_comments': u'0',
  'summary': u'One of our Indian families asked if they could share the celebration of Holi with the children at kindergarten. They said it was a fun experience where we could paint faces with powder paint and wish joy upon each other. &#8230; <a href="http://centralkids.org.nz/blog/holi-celebrations-festival-colours/">Continue reading <span class="meta-nav">&#8594;</span></a>',
  'summary_detail': {'base': u'http://feeds.feedburner.com/CentralKidsKindergartens',
   'language': None,
   'type': u'text/html',
   'value': u'One of our Indian families asked if they could share the celebration of Holi with the children at kindergarten. They said it was a fun experience where we could paint faces with powder paint and wish joy upon each other. &#8230; <a href="http://centralkids.org.nz/blog/holi-celebrations-festival-colours/">Continue reading <span class="meta-nav">&#8594;</span></a>'},
  'tags': [{'label': None, 'scheme': None, 'term': u'General home page'}],
  'title': u'Holi Celebrations \u2013 the festival of colours',
  'title_detail': {'base': u'http://feeds.feedburner.com/CentralKidsKindergartens',
   'language': None,
   'type': u'text/plain',
   'value': u'Holi Celebrations \u2013 the festival of colours'},
  'updated': u'Tue, 08 Apr 2014 02:14:31 +0000',
  'updated_parsed': time.struct_time(tm_year=2014, tm_mon=4, tm_mday=8, tm_hour=2, tm_min=14, tm_sec=31, tm_wday=1, tm_yday=98, tm_isdst=0),
  'wfw_commentrss': u'http://centralkids.org.nz/blog/holi-celebrations-festival-colours/feed/'},
 {'author': u'Central Kids',
  'author_detail': {'name': u'Central Kids'},
  'authors': [{}],
  'comments': u'http://centralkids.org.nz/blog/new-grad/#comments',
  'guidislink': False,
  'id': u'http://centralkids.org.nz/?p=1836',
  'link': u'http://centralkids.org.nz/blog/new-grad/',
  'links': [{'href': u'http://centralkids.org.nz/blog/new-grad/',
    'rel': u'alternate',
    'type': u'text/html'}],
  'slash_comments': u'0',
  'summary': u'Congratulations to Jenny Perry who recently graduated with the Diploma of Landscaping from WINTEC. Jenny is Planning Assistant to Barbara Lingard and she assists with playground plan drawing and auditing.\xa0 She completed her diploma over the past 4 years as &#8230; <a href="http://centralkids.org.nz/blog/new-grad/">Continue reading <span class="meta-nav">&#8594;</span></a>',
  'summary_detail': {'base': u'http://feeds.feedburner.com/CentralKidsKindergartens',
   'language': None,
   'type': u'text/html',
   'value': u'Congratulations to Jenny Perry who recently graduated with the Diploma of Landscaping from WINTEC. Jenny is Planning Assistant to Barbara Lingard and she assists with playground plan drawing and auditing.\xa0 She completed her diploma over the past 4 years as &#8230; <a href="http://centralkids.org.nz/blog/new-grad/">Continue reading <span class="meta-nav">&#8594;</span></a>'},
  'tags': [{'label': None, 'scheme': None, 'term': u'News'}],
  'title': u'New Graduate in Head Office',
  'title_detail': {'base': u'http://feeds.feedburner.com/CentralKidsKindergartens',
   'language': None,
   'type': u'text/plain',
   'value': u'New Graduate in Head Office'},
  'updated': u'Mon, 31 Mar 2014 22:57:38 +0000',
  'updated_parsed': time.struct_time(tm_year=2014, tm_mon=3, tm_mday=31, tm_hour=22, tm_min=57, tm_sec=38, tm_wday=0, tm_yday=90, tm_isdst=0),
  'wfw_commentrss': u'http://centralkids.org.nz/blog/new-grad/feed/'},
 {'author': u'Central Kids',
  'author_detail': {'name': u'Central Kids'},
  'authors': [{}],
  'comments': u'http://centralkids.org.nz/blog/exciting-new-three-rotorua-kindergartens/#comments',
  'guidislink': False,
  'id': u'http://centralkids.org.nz/?p=1794',
  'link': u'http://centralkids.org.nz/blog/exciting-new-three-rotorua-kindergartens/',
  'links': [{'href': u'http://centralkids.org.nz/blog/exciting-new-three-rotorua-kindergartens/',
    'rel': u'alternate',
    'type': u'text/html'}],
  'slash_comments': u'0',
  'summary': u'Recently families and\xa0wh\u0101nau from three Rotorua kindergartens; Central Kids Homedale, Helen Downer and\xa0Ngongotah\u0101\xa0were surveyed on their opening hours. The response was that the majority wanted extended hours on Wednesdays. \xa0To meet the needs of our communities we are happy to &#8230; <a href="http://centralkids.org.nz/blog/exciting-new-three-rotorua-kindergartens/">Continue reading <span class="meta-nav">&#8594;</span></a>',
  'summary_detail': {'base': u'http://feeds.feedburner.com/CentralKidsKindergartens',
   'language': None,
   'type': u'text/html',
   'value': u'Recently families and\xa0wh\u0101nau from three Rotorua kindergartens; Central Kids Homedale, Helen Downer and\xa0Ngongotah\u0101\xa0were surveyed on their opening hours. The response was that the majority wanted extended hours on Wednesdays. \xa0To meet the needs of our communities we are happy to &#8230; <a href="http://centralkids.org.nz/blog/exciting-new-three-rotorua-kindergartens/">Continue reading <span class="meta-nav">&#8594;</span></a>'},
  'tags': [{'label': None, 'scheme': None, 'term': u'News'}],
  'title': u'Exciting news for three Rotorua kindergartens',
  'title_detail': {'base': u'http://feeds.feedburner.com/CentralKidsKindergartens',
   'language': None,
   'type': u'text/plain',
   'value': u'Exciting news for three Rotorua kindergartens'},
  'updated': u'Mon, 24 Mar 2014 20:09:23 +0000',
  'updated_parsed': time.struct_time(tm_year=2014, tm_mon=3, tm_mday=24, tm_hour=20, tm_min=9, tm_sec=23, tm_wday=0, tm_yday=83, tm_isdst=0),
  'wfw_commentrss': u'http://centralkids.org.nz/blog/exciting-new-three-rotorua-kindergartens/feed/'},
 {'author': u'Central Kids',
  'author_detail': {'name': u'Central Kids'},
  'authors': [{}],
  'comments': u'http://centralkids.org.nz/blog/new-operating-hours-central-kids-tairua/#comments',
  'guidislink': False,
  'id': u'http://centralkids.org.nz/?p=1777',
  'link': u'http://centralkids.org.nz/blog/new-operating-hours-central-kids-tairua/',
  'links': [{'href': u'http://centralkids.org.nz/blog/new-operating-hours-central-kids-tairua/',
    'rel': u'alternate',
    'type': u'text/html'}],
  'slash_comments': u'0',
  'summary': u'Last year we surveyed our families and wh\u0101nau on our opening hours.\xa0 The response was, the majority of families wanted extended hours on Wednesday and for us to remain open during the term breaks. To meet the needs of our &#8230; <a href="http://centralkids.org.nz/blog/new-operating-hours-central-kids-tairua/">Continue reading <span class="meta-nav">&#8594;</span></a>',
  'summary_detail': {'base': u'http://feeds.feedburner.com/CentralKidsKindergartens',
   'language': None,
   'type': u'text/html',
   'value': u'Last year we surveyed our families and wh\u0101nau on our opening hours.\xa0 The response was, the majority of families wanted extended hours on Wednesday and for us to remain open during the term breaks. To meet the needs of our &#8230; <a href="http://centralkids.org.nz/blog/new-operating-hours-central-kids-tairua/">Continue reading <span class="meta-nav">&#8594;</span></a>'},
  'tags': [{'label': None, 'scheme': None, 'term': u'News'}],
  'title': u'New operating hours for Central Kids Tairua',
  'title_detail': {'base': u'http://feeds.feedburner.com/CentralKidsKindergartens',
   'language': None,
   'type': u'text/plain',
   'value': u'New operating hours for Central Kids Tairua'},
  'updated': u'Mon, 17 Mar 2014 21:37:47 +0000',
  'updated_parsed': time.struct_time(tm_year=2014, tm_mon=3, tm_mday=17, tm_hour=21, tm_min=37, tm_sec=47, tm_wday=0, tm_yday=76, tm_isdst=0),
  'wfw_commentrss': u'http://centralkids.org.nz/blog/new-operating-hours-central-kids-tairua/feed/'},
 {'author': u'Central Kids',
  'author_detail': {'name': u'Central Kids'},
  'authors': [{}],
  'comments': u'http://centralkids.org.nz/blog/head-office-welcomes-alison-flutey/#comments',
  'guidislink': False,
  'id': u'http://centralkids.org.nz/?p=1761',
  'link': u'http://centralkids.org.nz/blog/head-office-welcomes-alison-flutey/',
  'links': [{'href': u'http://centralkids.org.nz/blog/head-office-welcomes-alison-flutey/',
    'rel': u'alternate',
    'type': u'text/html'}],
  'slash_comments': u'0',
  'summary': u'Kia Ora I\u2019m Alison Flutey \u2013 I have been seconded to be an incredible Years Facilitator for Central Kids. I\u2019ve been kindergarten teaching for approximately 25 years and have been a Head Teacher since 2007 at Central Kids David Henry &#8230; <a href="http://centralkids.org.nz/blog/head-office-welcomes-alison-flutey/">Continue reading <span class="meta-nav">&#8594;</span></a>',
  'summary_detail': {'base': u'http://feeds.feedburner.com/CentralKidsKindergartens',
   'language': None,
   'type': u'text/html',
   'value': u'Kia Ora I\u2019m Alison Flutey \u2013 I have been seconded to be an incredible Years Facilitator for Central Kids. I\u2019ve been kindergarten teaching for approximately 25 years and have been a Head Teacher since 2007 at Central Kids David Henry &#8230; <a href="http://centralkids.org.nz/blog/head-office-welcomes-alison-flutey/">Continue reading <span class="meta-nav">&#8594;</span></a>'},
  'tags': [{'label': None, 'scheme': None, 'term': u'News'}],
  'title': u'Head Office welcomes Alison Flutey',
  'title_detail': {'base': u'http://feeds.feedburner.com/CentralKidsKindergartens',
   'language': None,
   'type': u'text/plain',
   'value': u'Head Office welcomes Alison Flutey'},
  'updated': u'Wed, 12 Mar 2014 03:17:15 +0000',
  'updated_parsed': time.struct_time(tm_year=2014, tm_mon=3, tm_mday=12, tm_hour=3, tm_min=17, tm_sec=15, tm_wday=2, tm_yday=71, tm_isdst=0),
  'wfw_commentrss': u'http://centralkids.org.nz/blog/head-office-welcomes-alison-flutey/feed/'},
 {'author': u'Central Kids',
  'author_detail': {'name': u'Central Kids'},
  'authors': [{}],
  'comments': u'http://centralkids.org.nz/blog/national-childrens-day/#comments',
  'guidislink': False,
  'id': u'http://centralkids.org.nz/?p=1716',
  'link': u'http://centralkids.org.nz/blog/national-childrens-day/',
  'links': [{'href': u'http://centralkids.org.nz/blog/national-childrens-day/',
    'rel': u'alternate',
    'type': u'text/html'}],
  'slash_comments': u'0',
  'summary': u'National Children&#8217;s Day is Ice Cream Day for Central Kids Huntly West. National Children\u2019s Day is the first Sunday of March. So today we celebrated it by having ice cream as a treat for the kids. We did not buy &#8230; <a href="http://centralkids.org.nz/blog/national-childrens-day/">Continue reading <span class="meta-nav">&#8594;</span></a>',
  'summary_detail': {'base': u'http://feeds.feedburner.com/CentralKidsKindergartens',
   'language': None,
   'type': u'text/html',
   'value': u'National Children&#8217;s Day is Ice Cream Day for Central Kids Huntly West. National Children\u2019s Day is the first Sunday of March. So today we celebrated it by having ice cream as a treat for the kids. We did not buy &#8230; <a href="http://centralkids.org.nz/blog/national-childrens-day/">Continue reading <span class="meta-nav">&#8594;</span></a>'},
  'tags': [{'label': None, 'scheme': None, 'term': u'General home page'}],
  'title': u'National Children\u2019s Day is\u2026\u2026\u2026\u2026',
  'title_detail': {'base': u'http://feeds.feedburner.com/CentralKidsKindergartens',
   'language': None,
   'type': u'text/plain',
   'value': u'National Children\u2019s Day is\u2026\u2026\u2026\u2026'},
  'updated': u'Thu, 27 Feb 2014 23:57:44 +0000',
  'updated_parsed': time.struct_time(tm_year=2014, tm_mon=2, tm_mday=27, tm_hour=23, tm_min=57, tm_sec=44, tm_wday=3, tm_yday=58, tm_isdst=0),
  'wfw_commentrss': u'http://centralkids.org.nz/blog/national-childrens-day/feed/'}]