Difference: CemTwikiToWeb (21 vs. 22)

Revision 2224 Nov 2013 - Main.EdEng

 
META TOPICPARENT name="CemITSystem"
Contents

New Webpage

Brief instructions for updating web pages manually

  • ssh to cem100
  • Copy and paste the following commands to copy all pages: (~15 minutes)
    cd /data/twiki2web
    ./twiki2web_fromtwiki_2013.py
    ./twiki2webtemplates_fromspecifictwikis2013.py
    ./twiki2temimps_fromtwiki.py
  • Next, need to copy all files to the live site using websync (~15 minutes):
  • ssh to sftp.nysbc.org
    websync

Overview

Added:
>
>

NYSBC webpage

The main webpage is designed to interface with Wordpress. Main webpage

CEM webpage

 The new webpage has two layers:
1) a new interface (CemTwikiToWebMainPage) and
Pages are mirrored nightly, and all attached images are included, this is done by a script on cem100, /data/twiki2web/twiki2webtemplates_fromspecifictwikis2013.py

2) twiki mirror (CemTwikiToWebList).
Pages are mirrored nightly, and all attached images are included, this is done by a script on cem100, /data/twiki2web/twiki2web_fromtwiki_2013.py

Architecture of new interface

As of Sept. 12, 2013

The webpages are a sandwich of NYSBC menu bar, CEM template top page, Twiki Page, modified NYSBC bottom . The public face has 26 specific template and 1 general template.

Menu name position html page type of page twiki page template
  homepage index.html semi-dynamic, only update Events field CemEventsMainWeb index
About CEM main menu bar cem_about.html dynamic CemAboutMainWeb cem_about
Staff main menu bar cem_staff.html dynamic CemStaff cem_staff
Staff > Former sub menu cem_formerstaff.html dynamic CemFormerStaff cem_formerstaff
Access to the facility main menu bar cem_access.html dynamic CemSignupOverview cem_access
Menu name position html page type of page CemStartMainWeb cem_start
Menu name position html page type of page CemTwikiWeb cem_twiki
Menu name position html page type of page CemPublications cem_publications
Menu name position html page type of page TemimpsJobs cem_jobs
Menu name position html page type of page CemEqResourcesWeb equipment
Menu name position html page type of page CemEqWeb eq_microscopes
Menu name position html page type of page CemSamplePrepWeb eq_sampleprep
Menu name position html page type of page CemAdditionalEq eq_additional
Menu name position html page type of page CemProtocWeb eq_pp
Menu name position html page type of page CemOverviewWeb eq_overview
Menu name position html page type of page CemInterestedWeb eq_interest
Menu name position html page type of page CemAdditionalResources links
Menu name position html page type of page CemSchedulingOverview scheduling
Menu name position html page type of page CemSeminarsCourses cem_events
Menu name position html page type of page CemSeminarsCoursesArchive cem_eventsarchive
Menu name position html page type of page CemAnnouncements cem_news
Menu name position html page type of page NewsLetter cem_newsletter
Menu name position html page type of page CemCourseAnnouncement cem_course
Menu name position html page type of page CemContactUs location
Menu name position html page type of page CemContactsMainWeb cem_contacts
Menu name position html page type of page CemSiteMap sitemap


Archive : Old website Spring 2012 till Aug 2013

Architecture of website

The new interface has horizontal cascading menus that are organized as follows:

CemTwikiToWebMainPage lists the twiki updatable pages


overview of architecture

Menu name position html page type of page twiki page template
Home main menu bar index.html semi-dynamic see below CemEventsWeb index
           
About us main menu bar 1_about.html semi-dynamic CemAboutWeb 1_about
Staff main menu bar staff.html dynamic CemStaff staff
Former Staff submenu of staff staff_former.html dynamic CemFormerStaff staff_former
Using the NYSBC submenu of About us 1_policies.html dynamic* see below CemSignupOverview 1_policies
How to start a project submenu of About us 1_EMstart.html dynamic CemStartWeb 1_EMstart
How to use the Intranet (twiki) submenu of About us 1_EMstart.html dynamic CemTwikiWeb 1_cemtwiki
Operations committee submenu of About us 1_cemopcom.html dynamic CemOpCom 1_cemopcom
Publications submenu of About us 1_cempublications.html dynamic CemPublications 1_cempublications
Jobs Available submenu of About us 1_jobs.html dynamic TemimpsJobs 1_jobs
Additional NYSBC facilities submenu of About us 1_facilities.html dynamic CoreFacilities 1_facilities
           
NYSBC main menu bar http://www.nysbc.org/   direct link  
  submenu of NYSBC     direct links to webpages  
           
Equipment & Resources main menu bar 2_eqresources.html dynamic CemEqResources 2_eqresources
Equipment submenu of equipment & resources 2_equipment.html dynamic CemEqWeb 2_equipment
Microscopes submenu of equipment & resources 2_equipment_microscopes.html dynamic CemEqWeb 2_equipment_microscopes
Sampl epreparation submenu of equipment & resources 2_equipment_sampleprep.html dynamic CemSamplePrep 2_equipment_sampleprep
Additional equipment submenu of equipment & resources 2_equipment_additional.html dynamic CemAdditionalEq 2_equipment_additional
General overview of CryoEM submenu of equipment & resources 2_emoverview.html dynamic CemGeneralInfo 2_emoverview
How to begin an EM project submenu of equipment & resources 2_eminterest.html dynamic CemInterested 2_eminterest
Principles & Protocols submenu of equipment & resources 2_pp.html dynamic CemProtoc 2_pp
Equipment submenu of equipment & resources 2_links.html dynamic CemAdditionalResources 2_links
           
Scheduling main menu bar scheduling.html dynamic CemSchedulingOverview scheduling
Request time submenu of scheduling http://www.nysbc.net/twiki/bin/view/Main/CemMicroscopeSchedule   direct link to twiki  
           
News & Courses main menu bar 3_events.html dynamic CemSeminarsCourses 3_events
Events & Courses submenu of news & courses 3_events.html dynamic CemSeminarsCourses 3_events
Archive submenu of new & courses 3_events_archive.html dynamic CemSeminarsCoursesArchive 3_events_archive
Announcements & News submenu of new & courses 3_news.html dynamic CemAnnouncements 3_news
           
Location main menu bar contactus.html dynamic CemContactsWeb contacts
         
           
Request time top quickmenu http://www.nysbc.net/twiki/bin/view/Main/CemMicroscopeSchedule   direct link to twiki  
Intranet top quickmenu http://www.nysbc.net/twiki/bin/view/Main/CemfacGroup   direct link to twiki  
Contacts top quickmenu contacts.html dynamic CemContactUs contactus
           
           
sitemap link at bottom of index page sitemap.html Static - can be dynamic CemSiteMap sitemap

Annotation on CemTwikiToWebMainPage and architecture


HOME

index.html semi-static : manual update

Newsletter newsletter -> files/CEMNewsletter.pdf newsletter icon -> images/newslettericon.jpg

The newsletter can be updated by going into the "files" folder, renaming the old file to archive and changing the pdf to "CEMNewsletter.pdf". If you wish to update the index page icon for the newsletter, in the "images" folder rename the old file to archive and change the picture to "newslettericon.jpg"

Announcements
edit indexbottom.html find < !--- insert NEWS here --- > and add/replace content below

Events

twikipage
CemEventsWeb

In CSS folder styles, the index page Announcements and News height tab is set to 525 px to correct for formatting issues with floating div boxes. If the content runs over, will run off page. Would have to manually update this number.


ABOUT US

>Introduction
1_about.html semi-dynamic
twikipage
CemAboutWeb picture insert and caption would require a manual update

>Using the NYSBC
1_policies.html twikipage: CemSignupOverview The operations committee is statically included in 1_policiesbottom.html To update either 1) update the template bottom or 2) delete this section from the template bottom and update the twiki page.

>>How to start an EM project?
1_cemstart.html Also linked from the index page

>>>intranet overview
1_cemtwiki.html Also linked from the index page

>>Operations committee 1_cemopcom.html twikipage: CemOpCom

>Publications
1_cempublications.html twikipage: CemPublications

>Jobs available
1_jobs.html twikipage: TemimpsJobs

>Additional NYSBC facilities
1_facilities.html twikipage: CoreFacilities


STAFF

>Curent
staff.html twiki page: CemStaff

>Former
staff_former.html twiki page: CemFormerStaff former static public mirror: http://cryoem.nysbc.org/cryoem-staff.html)


EQUIPMENT & RESOURCES

(Overview) 2_eqresources.html static: manual update

>Equipment
2_equipment.html twikipage: CemMicroscopes

>> 2_equipment_microscopes.html twiki page: CemMicroscopes
subtwikipages associated: Jeol1230Description Jeol2100Description TecnaiDescription Jeol3200Description HeliosDescription

>> 2_equipment_sampleprep.html twiki page: CemSamplePrep
subtwikipages associated: CemPlasmaCleaning CemPlungeFreezer HpfUse

>> 2_equipment_additional.html twiki page: CemAdditionalEq
former static public mirror http://cryoem.nysbc.org/equipment/microscopes.html http://cryoem.nysbc.org/equipment/ancillary.html

>Overview of EM
(General overview of CryoEM) 2_emoverview.html twikipage: CemGeneralInfo (former static public mirror: http://cryoem.nysbc.org/cryoem-generalinfo.html aka CemIntroduction)

>Overview of EM
(How to begin an EM project) 2_eminterest.html twikipage: CemInterested (former static public mirror http://cryoem.nysbc.org/cryoem-interested.html)

>Principles & protocols
2_pp.html twikipage: CemProtoc * check linked pages currently static: http://cryoem.nysbc.org/cryoem-protocols.html

>Additional resources & links
2_links.html twikipage: CemAdditionalResources

SCHEDULNG

>Overview scheduling.html twikipage: CemSignupOverview
>Request time direct link to twiki: http://www.nysbc.net/twiki/bin/view/Main/CemMicroscopeSchedule

NEWS & COURSES

>Events & Courses
3_events.html twiki page: CemSeminarsCourses

>Events & Courses (Archive)
3_events_archive.html twiki page: CemSeminarsCoursesArchive

>Announcements & News
3_news.html twiki page: CemAnnouncements

LOCATION

contactus.html static: manual update

Other menus

TOP MENU BAR

contacts.html static: manual update

sitemap

sitemap.html static: manual update twiki mirror made from CemSiteMap

twiki mirror

cemtemplate.html twiki mirror template


Background Information on old webpage

The webpage redesign started 4/2012 with the goal to make the CEM website: "better".

The resulting objectives were to:
1) update the webpage design,
2) have specified twiki pages converted to a public mirror that would also serve as a backup, and
3) allow easier to implementation of a new design in the future by having twiki content feed the webpage content.

The end result is a compromise given that there were different levels of importance placed on the elements make a website "better". The new interface has some dynamic, semi-dynamic/static pages and static pages for content. The dynamic pages take a top and bottom template, and sandwich twiki based information in between the templates. The static pages have to be manually edited to update. The twiki pages and the specific templates used are listed in CemTwikiToWebMainPage

There is a twiki mirror of select twiki pages in the CemTwikiToWebList page. The site map is a static directory of these pages. If pages are added, the site map would have to be manually updated to reflect it.
As of 5/2012:
There is a link to the full unorganized list on the site map and a twiki mirror of a manually updated twiki CemSiteMap.
There are 23 templates for the mainpage and 1 template for the twikimirror that receive some or all content from the twiki, and 4 static pages that would have to be manually updated.

To the designer of the next webpage:
You may be wondering how this webpage was created and ended up being coded in its current state.
The dropdown menu bar was created using a template from Dreamweaver. There were some issues with certain browsers, in particular IE and if the work around javascripts are blocked. The nested webpages therefore have explicit links in the left side of the webpage to allow navigation. The rest of the content for the pages were added manually and not all the css styling was debugged. In particular, the index page and styling was iteratively changed to first be compatible with Dreamweaver webpage display, Safari, Firefox, Chrome and lastly IE without breaking the page too much with the previously compatible browser. From that point a template was made to create the subsequent pages of the website.

  • Set ALLOWTOPICVIEW =

-- EdEng - 16 May 2012

Added:
>
>
 
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding this intranet, Send feedback