In [21]:
import json
import bs4
#import github
#from github import Github
#import git
#import tweepy
#import random
import dominate
from dominate.tags import * 
#import pydnz

Read Min Job

Python script to read the json file generated from minedujob.

The key 'lidocend' is good things to have for the job. It is a series of ['blahbhal'],


In [4]:
opwse = open('/home/wcmckee/github/wcmckee.com/output/minedujobs/index.json', 'r')

In [5]:
jsloaop = json.loads(opwse.read())

In [6]:
lejsp = len(jsloaop)

In [20]:
#rdjsop = 'ysgF_WqSpx1vofqAx7qG'

In [23]:
#dnz = pydnz.Dnz(rdjsop)

In [24]:
#dnz.search


Out[24]:
<pydnz.Dnz instance at 0xb1472a58>

In [ ]:


In [7]:
#ranlej = random.randint(0, lejsp)

In [8]:
jsloaop


Out[8]:
{u'0': {u'Business Unit': u'',
  u'Category': u'IT & computing',
  u'Date Advertised': u'22-JUL-15',
  u'Job Reference': u'EDU/1172053',
  u'Job Title': u'Business ANalyst / Senior Busniess Analyst',
  u'Job Type': u'Full Time',
  u'Location': u'Wellington',
  u'Summary': u'',
  u'doc': u'Senior Business Analyst IT jd.docx',
  u'jsonlen': u'0',
  u'lidocend': [[u'Considered as a Subject Matter Expert'],
   [u'Documenting business processes'],
   [u'Gathering and analysing business requirements across different user groups'],
   [u'Running workshops or meetings'],
   [u'Providing advice on business processes, technical and business solutions'],
   [u'Analysing issues and developing effective options for action'],
   [u'Excellent relationship, communication and writing skills'],
   [u'Leadership potential or experience'],
   [u'Mentoring potential or experience'],
   [u'A sound understanding of the SDLC'],
   [u'Experience with or knowledge of various delivery methodologies (Waterfall, Iterative and Agile)'],
   [u'Experience in using project management techniques and methodologies, such as Prince 2 is desirable but not essential'],
   [u'Knowledge or experience of Software Systems used in the Education Sector is an advantage'],
   [u'At least 5 years experience in business analysis (or similar) for senior position']],
  u'link': u'http://jobs.minedu.govt.nz/jobtools/jncustomsearch.viewFullSingle?in_organid=17584&in_jnCounter=222580783&in_jobDate=All&in_searchbox=YES&in_summary=S#utm_source=JobRSS&utm_medium=JobRSS'},
 u'1': {u'Business Unit': u'',
  u'Category': u'Education',
  u'Date Advertised': u'20-JUL-15',
  u'Job Reference': u'EDU/1171716',
  u'Job Title': u'School Wide Practitioner',
  u'Job Type': u'Part Time',
  u'Location': u'Otago',
  u'Summary': u'',
  u'doc': u'SEA PB4L Southern jd.docx',
  u'jsonlen': u'1',
  u'lidocend': [],
  u'link': u'http://jobs.minedu.govt.nz/jobtools/jncustomsearch.viewFullSingle?in_organid=17584&in_jnCounter=222580270&in_jobDate=All&in_searchbox=YES&in_summary=S#utm_source=JobRSS&utm_medium=JobRSS'},
 u'10': {u'Business Unit': u'',
  u'Category': u'Education',
  u'Date Advertised': u'16-JUL-15',
  u'Job Reference': u'EDU/1171066',
  u'Job Title': u'Senior Advisor',
  u'Job Type': u'Part Time',
  u'Location': u'Bay of Plenty',
  u'Summary': u'',
  u'doc': u'Senior Advisor JD Sector Enablement and Support.docx',
  u'jsonlen': u'10',
  u'lidocend': [[u'Strong analytical skills and the ability to work with student achievement data to determine needs and priorities, \xa0\xa0\xa0\xa0 and monitor results.'],
   [u'The ability to contribute to Ministry\xa0goals for all priority learners and to work collaboratively with schools and their communities.'],
   [u'Well developed interpersonal and relationship skills.'],
   [u'Experience in developing and implementing projects.']],
  u'link': u'http://jobs.minedu.govt.nz/jobtools/jncustomsearch.viewFullSingle?in_organid=17584&in_jnCounter=222579573&in_jobDate=All&in_searchbox=YES&in_summary=S#utm_source=JobRSS&utm_medium=JobRSS'},
 u'11': {u'Business Unit': u'',
  u'Category': u'Education',
  u'Date Advertised': u'15-JUL-15',
  u'Job Reference': u'EDU/1170995',
  u'Job Title': u'Senior Advisor (Literacy)',
  u'Job Type': u'Full Time',
  u'Location': u'Wellington',
  u'Summary': u'',
  u'doc': u'Senior Advisor Curriculum Teaching and Learning JD.docx',
  u'jsonlen': u'11',
  u'lidocend': [[u'Understanding of how the school sector operates as a system to achieve student learning outcomes at the school, network and systems level'],
   [u'Understanding of key levers that contribute to literacy learning and the evidence for this, most notably effective teaching, effective leadership, assessment and qualifications'],
   [u'Understanding of effective literacy teaching pedagogy, National Standards, Literacy Learning Progressions and English Language Learning Progressions'],
   [u'Experience in supporting students at learning at key transition points'],
   [u'Knowledge of engaging parent, family and whanau in supporting their child\u2019s literacy learning, including the development of clear and easy to understand reports to parents'],
   [u'Ability to use an evidence base to identify what works to lift literacy achievement, in particular for those students not making expected progress'],
   [u'Excellent oral and written communication, including the ability to present complex issues clearly and concisely'],
   [u'An understanding of cultural values, aspirations and particular needs of M\u0101ori.\xa0 An understanding of the principles of the Treaty of Waitangi, and their implications for policy development is highly desirable']],
  u'link': u'http://jobs.minedu.govt.nz/jobtools/jncustomsearch.viewFullSingle?in_organid=17584&in_jnCounter=222579242&in_jobDate=All&in_searchbox=YES&in_summary=S#utm_source=JobRSS&utm_medium=JobRSS'},
 u'12': {u'Business Unit': u'',
  u'Category': u'Education',
  u'Date Advertised': u'15-JUL-15',
  u'Job Reference': u'EDU/1169259',
  u'Job Title': u'Student Achievement Function Practitioner English Medium',
  u'Job Type': u'Full Time',
  u'Location': u'Bay of Plenty',
  u'Summary': u'',
  u'doc': u'SAF jd.docx',
  u'jsonlen': u'12',
  u'lidocend': [[u'Permanent position'],
   [u'have proven experience in working together with kura and schools and their communities to drive an inquiry-based change process through to accelerated progress and achievement for students;'],
   [u'can work with kura and schools to create urgency for accelerating achievement'],
   [u'know how to monitor and review change so that it can be sustained, replicated and adapted;'],
   [u'knowledge and experience in primary or secondary schooling'],
   [u'can support schools to infuse students\u2019 identity, language and culture within their learning environment;'],
   [u'have credibility to work within M\u0101ori, Pasifika and Special Education contexts;'],
   [u'have experience working within a project management framework;'],
   [u'ideally you will have a successful leadership background in an education setting; and'],
   [u'Te Reo M\u0101ori or/and Pasifika language would be an advantage to your application.']],
  u'link': u'http://jobs.minedu.govt.nz/jobtools/jncustomsearch.viewFullSingle?in_organid=17584&in_jnCounter=222577455&in_jobDate=All&in_searchbox=YES&in_summary=S#utm_source=JobRSS&utm_medium=JobRSS'},
 u'13': {u'Business Unit': u'',
  u'Category': u'Psychologist',
  u'Date Advertised': u'15-JUL-15',
  u'Job Reference': u'EDU/1170935',
  u'Job Title': u'Psychologist',
  u'Job Type': u'Full Time',
  u'Location': u'Bay of Plenty',
  u'Summary': u'',
  u'doc': u'psychologist jd.docx',
  u'jsonlen': u'13',
  u'lidocend': [[u'Knowledge and experience in curriculum adaptation and differentiation'],
   [u'Recent successful experience in engaging students who have challenging \xa0learning and/or behaviour in school, preschool and community settings'],
   [u'Understanding of the Treaty of Waitangi and ability to work in a way that delivers equitable outcomes for Maori.'],
   [u'Demonstrated ability to engage in culturally respectful ways with Maori students and whanau'],
   [u'Ability to plan and manage time effectively to meet goals and outcomes'],
   [u'A current New Zealand driver\u2019s licence.']],
  u'link': u'http://jobs.minedu.govt.nz/jobtools/jncustomsearch.viewFullSingle?in_organid=17584&in_jnCounter=222579155&in_jobDate=All&in_searchbox=YES&in_summary=S#utm_source=JobRSS&utm_medium=JobRSS'},
 u'14': {u'Business Unit': u'',
  u'Category': u'Special Education',
  u'Date Advertised': u'14-JUL-15',
  u'Job Reference': u'EDU/1170564',
  u'Job Title': u'Practice Advisor Speech and Language',
  u'Job Type': u'Full Time',
  u'Location': u'Auckland',
  u'Summary': u'',
  u'doc': u'Practice Advisor Speech and Language jd.docx',
  u'email': u'northern.recruitment@minedu.govt.nz',
  u'jsonlen': u'14',
  u'lidocend': [[u'Have a high level of conceptual and analytical capability'],
   [u'Demonstrate ability to build strong working relationships and effective networks with key internal stakeholders'],
   [u'Demonstrate ability to manage conflict and negotiate agreements through good interpersonal and relationship skills and the ability to influence and persuade'],
   [u'Have the ability to develop innovative and effective solutions to complex and diverse problems'],
   [u'Have a tertiary qualification in Speech-Language Therapy and significant experience in education contexts']],
  u'link': u'http://jobs.minedu.govt.nz/jobtools/jncustomsearch.viewFullSingle?in_organid=17584&in_jnCounter=222578866&in_jobDate=All&in_searchbox=YES&in_summary=S#utm_source=JobRSS&utm_medium=JobRSS'},
 u'15': {u'Business Unit': u'',
  u'Category': u'Education',
  u'Date Advertised': u'13-JUL-15',
  u'Job Reference': u'EDU/1170463',
  u'Job Title': u'Senior Advisor',
  u'Job Type': u'Full Time',
  u'Location': u'Unspecified',
  u'Summary': u'',
  u'jsonlen': u'15',
  u'lidocend': [[u'Using your\xa0evaluative skills to work with data and information to solve complex\xa0problems and make decisions'],
   [u'Working\xa0with others to support and implement change initiatives']],
  u'link': u'http://jobs.minedu.govt.nz/jobtools/jncustomsearch.viewFullSingle?in_organid=17584&in_jnCounter=222578699&in_jobDate=All&in_searchbox=YES&in_summary=S#utm_source=JobRSS&utm_medium=JobRSS'},
 u'16': {u'Business Unit': u'',
  u'Category': u'Administration/Support Services',
  u'Date Advertised': u'10-JUL-15',
  u'Job Reference': u'EDU/1170142',
  u'Job Title': u'Shared Services Executive Support Officer',
  u'Job Type': u'Full Time',
  u'Location': u'Hamilton',
  u'Summary': u'',
  u'doc': u'Executive Support Officer JD.docx',
  u'jsonlen': u'16',
  u'lidocend': [[u'Experience as a personal/executive assistant at a senior level in a similar business support role.'],
   [u'A high level of interpersonal, organisational and time management skills.'],
   [u'An ability to carry out a variety of support services with diplomacy and confidentiality.'],
   [u'Ability to build and maintain strong relationships across a diverse group of contacts.'],
   [u'Strong oral and written communication skills, excellent grammar essential.'],
   [u'An ability to work in a challenging and changing environment.'],
   [u'An ability to work under pressure and manage conflicting demands.'],
   [u'A can-do attitude with the ability to prioritise.'],
   [u'A good sense of humour.']],
  u'link': u'http://jobs.minedu.govt.nz/jobtools/jncustomsearch.viewFullSingle?in_organid=17584&in_jnCounter=222578415&in_jobDate=All&in_searchbox=YES&in_summary=S#utm_source=JobRSS&utm_medium=JobRSS'},
 u'17': {u'Business Unit': u'',
  u'Category': u'Special Education',
  u'Date Advertised': u'09-JUL-15',
  u'Job Reference': u'EDU/1169948',
  u'Job Title': u'Regional Technology Coordinator',
  u'Job Type': u'Fixed Term Part Time',
  u'Location': u'Unspecified',
  u'Summary': u'',
  u'doc': u'Regional Assistive Technology Coordinator jd.docx',
  u'jsonlen': u'17',
  u'lidocend': [],
  u'link': u'http://jobs.minedu.govt.nz/jobtools/jncustomsearch.viewFullSingle?in_organid=17584&in_jnCounter=222578178&in_jobDate=All&in_searchbox=YES&in_summary=S#utm_source=JobRSS&utm_medium=JobRSS'},
 u'18': {u'Business Unit': u'',
  u'Category': u'Speech Language Therapist',
  u'Date Advertised': u'09-JUL-15',
  u'Job Reference': u'EDU/1169953',
  u'Job Title': u'Speech Language Therapist',
  u'Job Type': u'Full Time',
  u'Location': u'Wellington',
  u'Summary': u'',
  u'jsonlen': u'18',
  u'lidocend': [],
  u'link': u'http://jobs.minedu.govt.nz/jobtools/jncustomsearch.viewFullSingle?in_organid=17584&in_jnCounter=222578168&in_jobDate=All&in_searchbox=YES&in_summary=S#utm_source=JobRSS&utm_medium=JobRSS'},
 u'19': {u'Business Unit': u'',
  u'Category': u'Special Education',
  u'Date Advertised': u'09-JUL-15',
  u'Job Reference': u'EDU/1169947',
  u'Job Title': u'Service Manager',
  u'Job Type': u'Full Time',
  u'Location': u'Otago',
  u'Summary': u'',
  u'doc': u'Service Manager JD.docx',
  u'email': u'gary.mcclintock@education.govt.nz',
  u'jsonlen': u'19',
  u'lidocend': [[u'The ability to effectively cope with change and to be \xa0\xa0\xa0\xa0 able to decide and act in situations without having the total picture.'],
   [u'The ability to create a working environment for your \xa0\xa0\xa0\xa0 team which promotes a high level of motivation, innovation and engagement.'],
   [u'The ability to\xa0effectively mentor and coach \xa0\xa0\xa0\xa0 professionals.'],
   [u'The ability to analyse data, balance conflicting \xa0\xa0\xa0\xa0 factors, information and views and develop strategies in order to meet \xa0\xa0\xa0\xa0 Ministry objectives, including annually funded delivery targets.'],
   [u'Strong written and oral communication skills.'],
   [u'Excellent leadership and interpersonal skills.'],
   [u'A tertiary qualification in education/ and or special \xa0\xa0\xa0\xa0 education.'],
   [u'Significant applicable experience in Education.']],
  u'link': u'http://jobs.minedu.govt.nz/jobtools/jncustomsearch.viewFullSingle?in_organid=17584&in_jnCounter=222578166&in_jobDate=All&in_searchbox=YES&in_summary=S#utm_source=JobRSS&utm_medium=JobRSS'},
 u'2': {u'Business Unit': u'',
  u'Category': u'IT & computing',
  u'Date Advertised': u'20-JUL-15',
  u'Job Reference': u'EDU/1169857',
  u'Job Title': u'Strategic ICT Business Advisor',
  u'Job Type': u'Full Time',
  u'Location': u'Wellington',
  u'Summary': u'',
  u'doc': u'Strategic ICT Business Advisor JD.docx',
  u'jsonlen': u'2',
  u'lidocend': [],
  u'link': u'http://jobs.minedu.govt.nz/jobtools/jncustomsearch.viewFullSingle?in_organid=17584&in_jnCounter=222578047&in_jobDate=All&in_searchbox=YES&in_summary=S#utm_source=JobRSS&utm_medium=JobRSS'},
 u'20': {u'Business Unit': u'',
  u'Category': u'Special Education',
  u'Date Advertised': u'09-JUL-15',
  u'Job Reference': u'EDU/1169946',
  u'Job Title': u'Practice Advisors',
  u'Job Type': u'Full Time',
  u'Location': u'Wellington',
  u'Summary': u'',
  u'jsonlen': u'20',
  u'lidocend': [],
  u'link': u'http://jobs.minedu.govt.nz/jobtools/jncustomsearch.viewFullSingle?in_organid=17584&in_jnCounter=222578149&in_jobDate=All&in_searchbox=YES&in_summary=S#utm_source=JobRSS&utm_medium=JobRSS'},
 u'21': {u'Business Unit': u'',
  u'Category': u'Research & Analysis',
  u'Date Advertised': u'09-JUL-15',
  u'Job Reference': u'EDU/1169861',
  u'Job Title': u'Senior Data Analyst',
  u'Job Type': u'Full Time',
  u'Location': u'Wellington',
  u'Summary': u'',
  u'doc': u'Senior Data Analyst JD ELI.docx',
  u'jsonlen': u'21',
  u'lidocend': [[u'Advise, promote, teach and role model best practice to resolve data quality problems with providers of data'],
   [u'Contribute to the ongoing improvements to ELI system including validations, rules, communications and system changes'],
   [u'Have substantial experience working with data and reporting tools, such as R, SAP Business Objects, SAS and SQL'],
   [u'Excellent communication and relationship management skills']],
  u'link': u'http://jobs.minedu.govt.nz/jobtools/jncustomsearch.viewFullSingle?in_organid=17584&in_jnCounter=222578067&in_jobDate=All&in_searchbox=YES&in_summary=S#utm_source=JobRSS&utm_medium=JobRSS'},
 u'22': {u'Business Unit': u'',
  u'Category': u'Education',
  u'Date Advertised': u'06-JUL-15',
  u'Job Reference': u'EDU/1169250',
  u'Job Title': u'Programme Leader, Year 9 Plus',
  u'Job Type': u'Fixed Term Full Time',
  u'Location': u'Gisborne',
  u'Summary': u'',
  u'doc': u'Year 9 Programme Leader jd.docx',
  u'jsonlen': u'22',
  u'lidocend': [],
  u'link': u'http://jobs.minedu.govt.nz/jobtools/jncustomsearch.viewFullSingle?in_organid=17584&in_jnCounter=222577329&in_jobDate=All&in_searchbox=YES&in_summary=S#utm_source=JobRSS&utm_medium=JobRSS'},
 u'23': {u'Business Unit': u'',
  u'Category': u'Education',
  u'Date Advertised': u'03-JUL-15',
  u'Job Reference': u'EDU/1168877',
  u'Job Title': u'Senior Education Advisors',
  u'Job Type': u'Full Time',
  u'Location': u'Wellington',
  u'Summary': u'',
  u'jsonlen': u'23',
  u'lidocend': [[u'Using your evaluative\xa0skills to work with data and information to solve complex problems and make\xa0decisions'],
   [u'Working with\xa0others to support and implement change initiatives'],
   [u'An understanding of the Pasifika Education Plan and successful experience of\xa0working with Pasifika students and communities.'],
   [u'Knowledge and\xa0successful experience in leadership and curriculum development at\xa0secondary school level.'],
   [u'Strategies\xa0and initiatives that support student attendance and retention.']],
  u'link': u'http://jobs.minedu.govt.nz/jobtools/jncustomsearch.viewFullSingle?in_organid=17584&in_jnCounter=222576979&in_jobDate=All&in_searchbox=YES&in_summary=S#utm_source=JobRSS&utm_medium=JobRSS'},
 u'24': {u'Business Unit': u'',
  u'Category': u'Administration/Support Services',
  u'Date Advertised': u'02-JUL-15',
  u'Job Reference': u'EDU/1168705',
  u'Job Title': u'Executive Support Officer',
  u'Job Type': u'Full Time',
  u'Location': u'Whangarei',
  u'Summary': u'',
  u'jsonlen': u'24',
  u'lidocend': [[u'Senior administration experience'],
   [u'Proven time management skills'],
   [u'Work well under pressure'],
   [u'A positive can do attitude'],
   [u'A good sense of humour'],
   [u'Advanced knowledge of the Microsoft Suite'],
   [u'Commitment, knowledge and experience in working in Te Reo M\u0101ori']],
  u'link': u'http://jobs.minedu.govt.nz/jobtools/jncustomsearch.viewFullSingle?in_organid=17584&in_jnCounter=222576690&in_jobDate=All&in_searchbox=YES&in_summary=S#utm_source=JobRSS&utm_medium=JobRSS'},
 u'25': {u'Business Unit': u'',
  u'Category': u'Special Education',
  u'Date Advertised': u'01-JUL-15',
  u'Job Reference': u'EDU/1168506',
  u'Job Title': u'Psychologist - Gisborne',
  u'Job Type': u'Full Time',
  u'Location': u'Gisborne',
  u'Summary': u'',
  u'jsonlen': u'25',
  u'lidocend': [[u'enjoy being part of a high performing, multi-disciplinary team that is committed to ongoing improvement;'],
   [u'excel at building relationships with children, wh\u0101nau, educators and community agencies;'],
   [u'enjoy and are able to work bi-culturally within a family friendly, supportive environment \u2026']],
  u'link': u'http://jobs.minedu.govt.nz/jobtools/jncustomsearch.viewFullSingle?in_organid=17584&in_jnCounter=222576478&in_jobDate=All&in_searchbox=YES&in_summary=S#utm_source=JobRSS&utm_medium=JobRSS'},
 u'26': {u'Business Unit': u'',
  u'Category': u'Special Education',
  u'Date Advertised': u'30-JUN-15',
  u'Job Reference': u'EDU/1167913',
  u'Job Title': u'Speech Language Therapist - Gisborne',
  u'Job Type': u'Full Time',
  u'Location': u'Gisborne',
  u'Summary': u'',
  u'doc': u'Speech Language Therapist jd (new format) September 2011.docx',
  u'jsonlen': u'26',
  u'lidocend': [[u'enjoy being part of a high performing, multi-disciplinary team that is committed to ongoing improvement;'],
   [u'excel at building relationships with children, wh\u0101nau, educators and community agencies;'],
   [u'enjoy and are able to work bi-culturally within a family friendly, supportive environment \u2026']],
  u'link': u'http://jobs.minedu.govt.nz/jobtools/jncustomsearch.viewFullSingle?in_organid=17584&in_jnCounter=222575788&in_jobDate=All&in_searchbox=YES&in_summary=S#utm_source=JobRSS&utm_medium=JobRSS'},
 u'3': {u'Business Unit': u'',
  u'Category': u'Project/Programme Management',
  u'Date Advertised': u'20-JUL-15',
  u'Job Reference': u'EDU/1170844',
  u'Job Title': u'Senior Project Manager',
  u'Job Type': u'Fixed Term Full Time',
  u'Location': u'Canterbury',
  u'Summary': u'',
  u'doc': u'Delivery Manager JD CSR.docx',
  u'jsonlen': u'3',
  u'lidocend': [],
  u'link': u'http://jobs.minedu.govt.nz/jobtools/jncustomsearch.viewFullSingle?in_organid=17584&in_jnCounter=222579674&in_jobDate=All&in_searchbox=YES&in_summary=S#utm_source=JobRSS&utm_medium=JobRSS'},
 u'4': {u'Business Unit': u'',
  u'Category': u'Psychologist',
  u'Date Advertised': u'20-JUL-15',
  u'Job Reference': u'EDU/1171630',
  u'Job Title': u'Psychologist',
  u'Job Type': u'Fixed Term Full Time',
  u'Location': u'Bay of Plenty',
  u'Summary': u'',
  u'doc': u'psychologist jd.docx',
  u'jsonlen': u'4',
  u'lidocend': [[u'Skills to\xa0establish effective relationships with parents, families and whanau, educators\xa0and others working in the community.'],
   [u'Knowledge\xa0of Te Whaariki and the New Zealand curriculum and advanced skills in\xa0curriculum differentiation and adaptation.'],
   [u'Recent\xa0successful experience working with Maori students and their whanau. \xa0'],
   [u'An\xa0ability to plan and manage time effectively and independently in order to\xa0meet goals and objectives.'],
   [u'A full and current driver\u2019s licence.']],
  u'link': u'http://jobs.minedu.govt.nz/jobtools/jncustomsearch.viewFullSingle?in_organid=17584&in_jnCounter=222580186&in_jobDate=All&in_searchbox=YES&in_summary=S#utm_source=JobRSS&utm_medium=JobRSS'},
 u'5': {u'Business Unit': u'',
  u'Category': u'Psychologist',
  u'Date Advertised': u'20-JUL-15',
  u'Job Reference': u'EDU/1171623',
  u'Job Title': u'Psychologist',
  u'Job Type': u'Full Time',
  u'Location': u'Wellington',
  u'Summary': u'',
  u'doc': u'psychologist jd.docx',
  u'jsonlen': u'5',
  u'lidocend': [[u'Knowledge of the curriculum in school.'],
   [u'Knowledge and understanding of inclusive education practices.'],
   [u'Ability and willingness to work co-operatively as a team member in\xa0a range of contexts.'],
   [u'Excellent interpersonal and communication skills.'],
   [u'Sensitivity to cultural and ethnic diversity and commitment to the\xa0principles of the Treaty of Waitangi.']],
  u'link': u'http://jobs.minedu.govt.nz/jobtools/jncustomsearch.viewFullSingle?in_organid=17584&in_jnCounter=222580170&in_jobDate=All&in_searchbox=YES&in_summary=S#utm_source=JobRSS&utm_medium=JobRSS'},
 u'6': {u'Business Unit': u'',
  u'Category': u'Special Education',
  u'Date Advertised': u'17-JUL-15',
  u'Job Reference': u'EDU/1171431',
  u'Job Title': u'Practice Leader',
  u'Job Type': u'Full Time',
  u'Location': u'Wellington',
  u'Summary': u'',
  u'doc': u'Practice Leader SES jd.docx',
  u'jsonlen': u'6',
  u'lidocend': [[u'demonstrated knowledge of the national and international evidence base for effective inclusive educational approaches, with a focus on curriculum and teaching pedagogy, for children and young people requiring additional support for learning.'],
   [u'demonstrated skills and experience in leading and supporting complex change to influence practice of educators and specialist staff.'],
   [u'to be a powerful role model with ability to \xa0influence and quickly develop high credibility throughout New Zealand'],
   [u'have demonstrated ability to build strong working relationships and effective networks with key internal and external stakeholders'],
   [u'strong\xa0 written and verbal communication skills']],
  u'link': u'http://jobs.minedu.govt.nz/jobtools/jncustomsearch.viewFullSingle?in_organid=17584&in_jnCounter=222580001&in_jobDate=All&in_searchbox=YES&in_summary=S#utm_source=JobRSS&utm_medium=JobRSS'},
 u'7': {u'Business Unit': u'',
  u'Category': u'Speech Language Therapist',
  u'Date Advertised': u'17-JUL-15',
  u'Job Reference': u'EDU/1170246',
  u'Job Title': u'Speech Language Therapist',
  u'Job Type': u'Full Time',
  u'Location': u'Rotorua',
  u'Summary': u'',
  u'jsonlen': u'7',
  u'lidocend': [],
  u'link': u'http://jobs.minedu.govt.nz/jobtools/jncustomsearch.viewFullSingle?in_organid=17584&in_jnCounter=222579994&in_jobDate=All&in_searchbox=YES&in_summary=S#utm_source=JobRSS&utm_medium=JobRSS'},
 u'8': {u'Business Unit': u'',
  u'Category': u'Psychologist',
  u'Date Advertised': u'16-JUL-15',
  u'Job Reference': u'EDU/1171038',
  u'Job Title': u'Psychologist',
  u'Job Type': u'Full Time',
  u'Location': u'Canterbury',
  u'Summary': u'',
  u'doc': u'psychologist jd.docx',
  u'jsonlen': u'8',
  u'lidocend': [],
  u'link': u'http://jobs.minedu.govt.nz/jobtools/jncustomsearch.viewFullSingle?in_organid=17584&in_jnCounter=222579701&in_jobDate=All&in_searchbox=YES&in_summary=S#utm_source=JobRSS&utm_medium=JobRSS'},
 u'9': {u'Business Unit': u'',
  u'Category': u'Research & Analysis',
  u'Date Advertised': u'16-JUL-15',
  u'Job Reference': u'EDU/1169260',
  u'Job Title': u'Analyst',
  u'Job Type': u'Full Time',
  u'Location': u'Rotorua',
  u'Summary': u'',
  u'doc': u'Analyst SES Rotorua jd.docx',
  u'jsonlen': u'9',
  u'lidocend': [[u'Developing\xa0and maintaining databases and information systems'],
   [u'Reporting\xa0on performance and contributing to programme evaluation'],
   [u'Maintaining effective relationship with internal and external stakeholders; and'],
   [u'Ensuring\xa0\xa0activity in the regional office is aligned with national activity'],
   [u'Demonstrated analytical skills'],
   [u'Have a detailed understanding of analytical theory'],
   [u'Experience with research and analysis. This will include the ability to analyse and critique research and evaluation.\xa0'],
   [u'The ability to interpret and communicate complex information in a way that makes it accessible'],
   [u'A background in supporting and implementing databases and other systems for data collection and analysis are essential to be successful in this role.']],
  u'link': u'http://jobs.minedu.govt.nz/jobtools/jncustomsearch.viewFullSingle?in_organid=17584&in_jnCounter=222577335&in_jobDate=All&in_searchbox=YES&in_summary=S#utm_source=JobRSS&utm_medium=JobRSS'}}

In [9]:
#listed = list()

In [10]:
#for jsran in range(lejsp):
    #print jsloaop.values()[jsran]['lidocend']
    #listed.append(jsloaop.values()[jsran]['lidocend'])

In [11]:
#for lis in listed:
    #print lis
    #for li in lis:
        #print li
        #for wq in li:
            #print wq

In [12]:
#for jsran in range(lejsp):
    #print jsloaop.values()[jsran]['Category']
    
    #for jsl in jsloaop.values()[jsran]['lidocend']:
        #print jsl
        #for jl in jsl:
            #print jl

In [35]:
#print (jsloaop[0])

In [39]:
#import random

In [40]:
#randitez = random.randint(0,100)

In [48]:
doc = dominate.document(title='Ministry of Education Jobs')

with doc.head:
    link(rel='stylesheet', href='style.css')
    script(type ='text/javascript', src='script.js')
    #str(str2)
    
    with div():
        attr(cls='header')
        h1('Ministry of Education Jobs')
        p(img('logo.png', src='logo.png'))

        #p(img('imgs/getsdrawn-bw.png', src='imgs/getsdrawn-bw.png'))
        #p(img('imgs/15/01/02/ReptileLover82-reference.png', src= 'imgs/15/01/02/ReptileLover82-reference.png'))
        #h1('Updated ', strftime("%a, %d %b %Y %H:%M:%S +0000", gmtime()))
        #p(panz)
        #p(bodycom)
    
    

with doc:
    with div(id='body'):
        for jsran in range(lejsp):
            h2(a((jsloaop.values()[jsran]['Job Title']), href=jsloaop.values()[jsran]['link']))
            #h3(jsloaop.values()[jsran]['Job Title'])
            h3(jsloaop.values()[jsran]['Category'])
            p(jsloaop.values()[jsran]['Job Type'])
            p(jsloaop.values()[jsran]['Date Advertised'])
            p(jsloaop.values()[jsran]['Job Reference'])
            p(jsloaop.values()[jsran]['Location'])
            
            #locdnz = dnz.search(jsloaop.values()[jsran]['Location'])
            #randitez = random.randint(0,5)
            #p(locdnz.records[0]['description'])
            #print locdnz.records
            #try:
            #    p(a('email', href= 'mailto:' + jsloaop.values()[jsran]['email']))
            #except NameError:
            #    skip
            #if 'email' in jsloaop.keys():
            #p(a('email', href= 'mailto:' + jsloaop.values()[jsran]['email']))
            #p(jsloaop.values()[jsran]['email'])

            for jsl in jsloaop.values()[jsran]['lidocend']:
        #print jsl
                for jl in jsl:
                    p(jl)
        #<a href="mailto:name@email.com">Link text</a>
        
        
        #for rdz in reliz:
            #h1(rdz.title)
            #a(rdz.url)
            #p(img(rdz, src='%s' % rdz))
            #print rdz
            #p(img(rdz, src = rdz))
            #p(rdz)


                
            #print rdz.url
            #if '.jpg' in rdz.url:
            #    img(rdz.urlz)
            #else:
            #    a(rdz.urlz)
            #h1(str(rdz.author))
            
            #li(img(i.lower(), src='%s' % i))

    with div():
        attr(cls='body')
        p('MinistryOfEducationJobs is open source')
        p(a('github - ece-display', href='https://github.com/wcmckee/ece-display'))
        p(a('wcmckee', href='http://wcmckee.com'))
        #a('https://github.com/wcmckee/ece-display')
        #a('http://wcmckee.com')

#print doc

In [49]:
docre = doc.render()
#s = docre.decode('ascii', 'ignore')
yourstring = docre.encode('ascii', 'ignore').decode('ascii')
indfil = ('/home/wcmckee/github/wcmckee.com/output/minedujobs/index.html')
mkind = open(indfil, 'w')
mkind.write(yourstring)
mkind.close()

In [41]:
#noranch = jsloaop[0]

In [20]:
#for les in range(0, lejsp):
    #print les
    #randa = jsloaop[str(les)]
    #print randa['title']
    
    #print randa['Category']
    #print randa['Location']
    
    #print randa['Date Advertised']
    #print randa['time-advertised']


---------------------------------------------------------------------------
KeyError                                  Traceback (most recent call last)
<ipython-input-20-b7e41bbc324e> in <module>()
      2     #print les
      3     randa = jsloaop[str(les)]
----> 4     print randa['title']
      5 
      6     print randa['Category']

KeyError: 'title'