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/05/02 14:20]
kyrki
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.  The whole website is written in XHTML 1.0. Please try to respect this. 
  
 === Directory structure === === Directory structure ===
-  include/ ​     - PHP scripts used by the new mvpr webpage (do not edit!)+  include/ ​     - PHP scripts used by the MVPR webpage (do not edit!)
   images/ ​      - All images used by included pages (excluding the portraits)   images/ ​      - All images used by included pages (excluding the portraits)
   news_data/ ​   - Files for news items   news_data/ ​   - Files for news items
Line 45: Line 45:
   * Do not leave any empty or unused fields such as OPT fields generated by Emacs.   * 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"​.   * 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.   * 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. Note that the whole BibTeX entry is visible to the user by clicking at the //[bib]// button so do not leave comments and such.
  
-=== Adding or modifying ​research pages ===+=== Updating ​research pages ===
 The research pages can be accessed under the pages/ directory by modifying the appropriate .inc.php file. The research pages can be accessed under the pages/ directory by modifying the appropriate .inc.php file.
  
Line 62: Line 63:
 Each research topic has one 150x150 image on the research main page. Each research topic has one 150x150 image on the research main page.
  
-If you add any images, please place them under the images/ directory. ​+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.