meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
common:mvpr_website_editing [2011/03/24 11:55]
julankin
common:mvpr_website_editing [2011/09/02 12:04] (current)
Line 1: Line 1:
 ==== MVPR Website editing ==== ==== MVPR Website editing ====
-The new mvpr website can be seen at [[https://​www2.it.lut.fi/​mvpr/mvprwww/]].+The MVPR website can be seen at [[https://​www2.it.lut.fi/​mvpr/​]].
 and is accessible via SVN at [[https://​www2.it.lut.fi/​svn/​mvpr/​mvprwww/​]]. and is accessible via SVN at [[https://​www2.it.lut.fi/​svn/​mvpr/​mvprwww/​]].
  
-All modifications to the new website is done through SVN as always. All external modifications are more or less moderated by Jukka (jukka.lankinen@lut.fi). ​We need help at filling ​information about staff, publication/​news and research ​topics so, please checkout the SVN repository.+All modifications to the new website is done through SVN as always. SVN commits will be automatically copied to the web server. All external modifications are more or less moderated by Jukka (jukka.lankinen@lut.fi). ​Please keep information about staff, publication/​news and research ​topics up-to-date. 
 + 
 +The whole website is written in XHTML 1.0. Please try to respect this
  
 === Directory structure === === Directory structure ===
-  ​images/ ​      ​Includes all images used by included pages (excluding people portraits) +  include/ ​     ​PHP scripts used by the MVPR webpage (do not edit!
-  ​include/ ​     ​Includes ​PHP scripts used by the new mvpr webpage (do not edit) +  ​images      - All images used by included pages (excluding the portraits) 
-  ​news        Includes files for news items +  news_data/ ​   - Files for news items 
-  pages/ ​       ​Includes all different pages shown on the webpage +  people_data/ ​ - Files for people info and images 
-  ​people      Includes files for people info and images+  pages/ ​       ​- All different pages shown on the website 
 +  ​data        - Bibliography ​and PDF publications 
 + 
 +=== Updating people/​staff === 
 +To add a new staff member you need to create a person file under appropriate subdirectory under the people_data/​ directory. It's suggested to name it by "​lastnamefirstname.txt"​
  
-=== Adding or modifying people/​staff === +e.g. to add a new Phd. student, go under the people_data/phdstuds/ and create a txt file with the following contents:
-To add new staff member you need to create a person file under appropriate subdirectory under people/ directory. +
-e.g. to add a new Phd. student, go under people/phdstuds/ and create a txt file with the following contents:+
 <​code>​ <​code>​
 <​name>​Matti Meikäläinen</​name>​ <​name>​Matti Meikäläinen</​name>​
-<​title>​Phd.</​title>​+<​title></​title>​
 <​room>​666</​room>​ <​room>​666</​room>​
 <​email>​matti.meikalainen@lut.fi</​email>​ <​email>​matti.meikalainen@lut.fi</​email>​
Line 23: Line 27:
 <​homepage>​http://​www.matinsivut.com</​homepage>​ <​homepage>​http://​www.matinsivut.com</​homepage>​
 </​code>​ </​code>​
-All fields are not required to be filled or added. ​Also create a jpg file with same filename ​to have a portrait on the webpage.+All fields are not required to be filled or added. ​For title, use "​Prof."​ for professors, "​Dr."​ for doctors, otherwise leave the title empty. Please, ​create a jpg file with same basename ​to have a portrait on the webpage. The height of the portrait should be 100 px, width 75-85 px. The image will be rescaled to 100 px height.
  
-=== Adding or modifying ​news items === +=== Updating ​news items === 
-To add news items, just add a news file under news/ directory. It's suggested to name it "​yyyy-mm-dd_title.txt"​. The file requires following contents:+To add news items, just add a news file under the news_data/ directory. It's suggested to name it by "​yyyy-mm-dd_title.txt"​. The file requires following contents:
 <​code>​ <​code>​
 <​date>​2011-02-14</​date>​ <​date>​2011-02-14</​date>​
 <​title>​News!</​title>​ <​title>​News!</​title>​
 +<​abstract>​One sentence description</​abstract>​
 <​body>​A lot of new stuff. See here!</​body>​ <​body>​A lot of new stuff. See here!</​body>​
 </​code>​ </​code>​
-All three fields ​are REQUIRED to have a visible ​news item.+Title and abstract ​are shown on the MVPR front page while the news page will show also the body. The body can contain HTML markup. For style reasons, avoid HTML in title and abstract.
  
-=== Adding ​or modifying ​research pages === +=== Updating bibliography === 
-The research pages can be accessed under pages/ directory by modifying the appropriate .inc.php file.+Bibliography is in BibTeX format and can be accessed as data/​bibliography.bib. Everybody is responsible for updating their own publications. 
 + 
 +Use the following style: 
 +  * Do not leave any empty or unused fields such as OPT fields generated by Emacs. 
 +  * Field //url// is used to link to the PDF of the publication. The link will be shown with text "​pdf"​. 
 +    * Place the PDFs under data/. For example, see Laaksonen et al., Humanoids 2010. 
 +  * For Scandinavian letters etc. do not use utf-8 or Latin-1 encodings but instead use LaTeX markup. 
 + 
 +Note that the whole BibTeX entry is visible to the user by clicking at the //[bib]// button so do not leave comments and such. 
 + 
 +=== Updating ​research pages === 
 +The research pages can be accessed under the pages/ directory by modifying the appropriate .inc.php file.
  
 The files for each research topic are: The files for each research topic are:
Line 45: Line 61:
   * medimg.inc.php (Medical Imaging)   * medimg.inc.php (Medical Imaging)
  
-If you add any images, please ​add them under the images/ directory.+Each research topic has one 150x150 image on the research main page. 
 + 
 +If you add any images, please ​place them under the images/ directory. ​Alignment and presentation of images can be manipulated with styles. 
 +Unaligned image with default borders: <​code><​img src=""​ alt=""​ /></​code>​ 
 +Right-aligned image with default borders: <​code><​img src=""​ alt=""​ class="​right"​ /></​code>​ 
 +Left-aligned image with default borders: <​code><​img src=""​ alt=""​ class="​left"​ /></​code>​ 
 +Image with no borders: <​code><​img src=""​ alt=""​ class="​noborder"​ /></​code>​ 
 +Note that you can apply these styles simultaneously. E.g. <​code><​img src=""​ alt=""​ class="​right,​noborder"​ /></​code>​
  
 +Additionally,​ try to write valid XHTML markup. E.g. Remember to add quatation marks around values and alt parameters with value for images. Remember to close every opened tag and validate your pages with [[http://​validator.w3.org/​|W3C Validator]] from now and then.