User:Sarah Labianca/Notebook/Smyth Lab/2012/02/09

From OpenWetWare
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Project name <html><img src="/images/9/94/Report.png" border="0" /></html> Main project page
<html><img src="/images/c/c3/Resultset_previous.png" border="0" /></html>Previous entry<html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</html>Next entry<html><img src="/images/5/5c/Resultset_next.png" border="0" /></html>

Learning about Dynamic Page Listings and Categories/Tags

Today I learned about ways to sort and categorize pages and posts in my lab notebook, allowing for easier navigation and organization of my posts. Dynamic page listing (dpl) allows one to create an automatically updating list of pages within a certain category. By doing this, one can do a large amount of work with very few lines of code. An example of dynamic page listing can be found on this page. Dpl is extremely easy to code. It consists of identifying the category (at a bare minimum) and if one wants, adding an ordering method. An example of dpl code is:

<dpl>
category=SL-Coding
mode = unordered
order = descending
</dpl>

Since dpl is based on sorting posts within a certain categories, one must know how to tag a post with a category for sorting. This is easily done. An example of this is

[[Category: SL-Coding]]

This tag will allow for easy organization and grouping of notebook entries.