Vote for your favorite smiley!Vote for your favorite smiley!

<

div id=”serendipityMainpanel”>

<div id="serendipityContent" class="left"><!-- CONTENT START -->

<div class="serendipity_content_message"></div>
    <div class="serendipity_Entry_Date">
            <h1 class="serendipity_date">Wednesday, November  7. 2007</h3>

            <h2 class="title serendipity_title"><a href="/blog/archives/24-Need-Sleep.html">Need Sleep</a></h2>

    <div class="box serendipity_entry">
                    <div class="serendipity_entryIcon">
                                            <a href="http://www.linuxlefty.com/blog/categories/10-Funny"><img class="serendipity_entryIcon" title="Funny: Laugh!" alt="Funny" src="/blog/uploads/categories/funny.png" /></a>
                                                            <a href="http://www.linuxlefty.com/blog/categories/5-School"><img class="serendipity_entryIcon" title="School: Stuff about school either things I'm learning or what I'm currently teaching" alt="School" src="/blog/uploads/categories/school.png" /></a>
                                    </div>

    <p>I initially thought this week wouldn't be very busy, but school never

fails to find something to fill up my time ;-) . I have a large groupproject due this week ( it seems like I have one of those every week )so I’ve been staying up late working on that.

Today’s foxtrot comic really expresses the way I feel right now. Needmore sleep :-)

Click for full size imageClick for full size image

Oh, and while we’re on the topic of comics, I saw a great Dilbertcomic, too which is also attached below.

Click for full size imageClick for full size image

    <div class="aboutPost">
            Posted by <a href="http://www.linuxlefty.com/blog/authors/1-LinuxLefty">LinuxLefty</a>&nbsp;
                               in <a href="http://www.linuxlefty.com/blog/categories/10-Funny">Funny</a>, <a href="http://www.linuxlefty.com/blog/categories/5-School">School</a>                
                                at
             &nbsp;<a href="/blog/archives/24-Need-Sleep.html">14:27</a>
        </div>
    </div>
    <div class="tabs">
                    <div class='bottomTab'>
                                        <a href="/blog/archives/24-Need-Sleep.html#comments">Comment (1)</a>
                        </div>

                    <div class='bottomTab'>
                                        <a href="/blog/archives/24-Need-Sleep.html#trackbacks">Trackbacks (0)</a>
                        </div>

                    </div>


    <!--
    <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
             xmlns:dc="http://purl.org/dc/elements/1.1/">
    <rdf:Description
             rdf:about="http://www.linuxlefty.com/blog/feeds/ei_24.rdf"
             trackback:ping="http://www.linuxlefty.com/blog/comment.php?type=trackback&amp;entry_id=24"
             dc:title="Need Sleep"
             dc:identifier="http://www.linuxlefty.com/blog/archives/24-Need-Sleep.html" />
    </rdf:RDF>
    -->





        </div>
    <div class="serendipity_Entry_Date">
            <h1 class="serendipity_date">Monday, November  5. 2007</h3>

            <h2 class="title serendipity_title"><a href="/blog/archives/23-A-Big-Thumbs-up-for-Markdown.html">A Big Thumbs up for Markdown</a></h2>

    <div class="box serendipity_entry">
                    <div class="serendipity_entryIcon">
                                            <a href="http://www.linuxlefty.com/blog/categories/8-Website"><img class="serendipity_entryIcon" title="Website: News about my website" alt="Website" src="/blog/uploads/categories/website.png" /></a>
                                    </div>

    <p>I have sort of a love-hate relationship with CMS (content management

systems). I love the ease at which I am able to edit content and managepages. However, I have always felt that they were too restrictive andtoo much work. I have to work to get my website template in a formatthat the CMS supports. Then I have to work to install and configure theCMS. Then (and this is the kicker for me), if I want to drop down andcode some PHP or Python, at best I have to install some plugin thatwill allow me to use arbitrary PHP. Usually, I end up having to hacksome plugin myself. Then, what if I want my blog and photo album to usethe same theme? I have to port my template to these as well and try tohack some kind of plugin so that I can integrate my blog, photo albumand CMS all together — and I have three different copies of my websitetemplate to maintain.

So with LinuxLefty.com, I ended abandoning all CMS’s (although the oneI did like the best was ModX. It is asolid system with great hack-ability) and creating my own system. It isvery simple and works very well. I am able to easily change my templateand instantly (with some minor tweaking) my blog and photo album areusing the same template as well. The only problem I was having was thatthe code was ugly. HTML code is fine, but it became a chore to edit thepages as I had all kinds of divs and html tags floating around. So, Ichanged two things in my templating system and now it is much easier toedit my site!

Firstly, I cleaned up my CSS a little. I looked for ways to reduce tagsby being smart with my CSS. I noticed I was using several tags togetherso I condensed their CSS so I only needed a single tag. Then Iinstalled thePHP-Markdownmarkup library. This enabled me to get rid of a lot of my HTML and havea much cleaner syntax. For example, here is a bit of my website beforerenovating my templating system:

[geshi lang=html]

Restrictions

The designs presented here are given away for free; you are free to do anything you want with them, as long as it complies with the following restrictions:

  1. You may freely distribute, but not sell the templates.
  2. I remain the copyright holder of all my designs; don’t take credit for my work
  3. If you wish to use a design for a commercial purpose, please contact me to obtain my permission. I don’t charge for commercial usage, but I don’t want my designs to be used on sites which sell adult or offensive products / services.

Although, not required, I would really appreciate a link back to http://www.LinuxLefty.com/ on all pages that the template is used.

[/geshi]

It’s fine, but it’s not exactly easy to wade through all the HTML. So,I installed markdown and behold:

[geshi lang=plain]

Restrictions

<

p>

The designs presented here are given away for free; you are free to do anything you want with them, as long as it complies with the following restrictions:

  1. You may freely distribute, but not sell the templates.
  2. I remain the copyright holder of all my designs; don’t take credit for my work
  3. If you wish to use a design for a commercial purpose, please (contact) me to obtain my permission. I don’t charge for commercial usage, but I don’t want my designs to be used on sites which sell adult or offensive products / services.

Although, not required, I would really appreciate a link back to http://www.LinuxLefty.com/ on all pages that the template is used.

[/geshi]

Quite nice, don’t you think?

So, I’m very happy with my templating system. It works well for me andnow it is easier to use :-D

    <div class="aboutPost">
            Posted by <a href="http://www.linuxlefty.com/blog/authors/1-LinuxLefty">LinuxLefty</a>&nbsp;
                               in <a href="http://www.linuxlefty.com/blog/categories/8-Website">Website</a>                
                                at
             &nbsp;<a href="/blog/archives/23-A-Big-Thumbs-up-for-Markdown.html">21:29</a>
        </div>
    </div>
    <div class="tabs">
                    <div class='bottomTab'>
                                        <a href="/blog/archives/23-A-Big-Thumbs-up-for-Markdown.html#comments">Comments (2)</a>
                        </div>

                    <div class='bottomTab'>
                                        <a href="/blog/archives/23-A-Big-Thumbs-up-for-Markdown.html#trackbacks">Trackback (1)</a>
                        </div>

                    </div>


    <!--
    <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
             xmlns:dc="http://purl.org/dc/elements/1.1/">
    <rdf:Description
             rdf:about="http://www.linuxlefty.com/blog/feeds/ei_23.rdf"
             trackback:ping="http://www.linuxlefty.com/blog/comment.php?type=trackback&amp;entry_id=23"
             dc:title="A Big Thumbs up for Markdown"
             dc:identifier="http://www.linuxlefty.com/blog/archives/23-A-Big-Thumbs-up-for-Markdown.html" />
    </rdf:RDF>
    -->





        </div>

<div class='serendipity_entryFooter' style="text-align: center">
        <a href="http://www.linuxlefty.com/blog/archives/2007/11/P1.html">&laquo; previous page</a>&#160;&#160;

        (Page 2 of 2, totaling 7 entries)



</div>
<div id="serendipityRightSideBar" style="display:none">    <div class="serendipitySideBarItem container_serendipity_calendar_plugin">
    <div class="title serendipityTitle"><h3 class="serendipitySideBarTitle serendipity_calendar_plugin">Calendar</h3></div>        <div class="serendipitySideBarContent box"><table style="width: 100%" cellspacing="0" cellpadding="0" class="serendipity_calendar">
<tr>
    <td class="serendipity_calendarHeader">
        <a title="Back" href="http://www.linuxlefty.com/blog/archives/2007/10.html" class="serendipity_calendar_arrows">&#171;</a>
    </td>

    <td colspan="5" class="serendipity_calendarHeader" style="text-align: center; vertical-align: bottom">
        <b><a style="white-space: nowrap" href="http://www.linuxlefty.com/blog/archives/2007/11.html">November '07</a></b>
    </td>

    <td class="serendipity_calendarHeader" style="text-align: right">
        <a title="Forward" href="http://www.linuxlefty.com/blog/archives/2007/12.html" class="serendipity_calendar_arrows">&#187;</a>
    </td>
</tr>

<tr>
        <td scope="col" abbr="Monday" title="Monday" class="serendipity_weekDayName" align="center">Mon</td>
        <td scope="col" abbr="Tuesday" title="Tuesday" class="serendipity_weekDayName" align="center">Tue</td>
        <td scope="col" abbr="Wednesday" title="Wednesday" class="serendipity_weekDayName" align="center">Wed</td>
        <td scope="col" abbr="Thursday" title="Thursday" class="serendipity_weekDayName" align="center">Thu</td>
        <td scope="col" abbr="Friday" title="Friday" class="serendipity_weekDayName" align="center">Fri</td>
        <td scope="col" abbr="Saturday" title="Saturday" class="serendipity_weekDayName" align="center">Sat</td>
        <td scope="col" abbr="Sunday" title="Sunday" class="serendipity_weekDayName" align="center">Sun</td>
    </tr>

        <tr class="serendipity_calendar">
                <td class="serendipity_calendarDay FirstRow FirstInRow">&#160;</td>
                <td class="serendipity_calendarDay FirstRow">&#160;</td>
                <td class="serendipity_calendarDay FirstRow">&#160;</td>
                <td class="serendipity_calendarDay FirstRow">1</td>
                <td class="serendipity_calendarDay FirstRow">2</td>
                <td class="serendipity_calendarDay FirstRow">3</td>
                <td class="serendipity_calendarDay FirstRow LastInRow">4</td>
            </tr>
        <tr class="serendipity_calendar">
                <td class="serendipity_calendarDay FirstInRow Active Link"><a href="http://www.linuxlefty.com/blog/archives/2007/11/05.html">5</a></td>
                <td class="serendipity_calendarDay ">6</td>
                <td class="serendipity_calendarDay Active Link"><a href="http://www.linuxlefty.com/blog/archives/2007/11/07.html">7</a></td>
                <td class="serendipity_calendarDay ">8</td>
                <td class="serendipity_calendarDay ">9</td>
                <td class="serendipity_calendarDay ">10</td>
                <td class="serendipity_calendarDay LastInRow Active Link"><a href="http://www.linuxlefty.com/blog/archives/2007/11/11.html">11</a></td>
            </tr>
        <tr class="serendipity_calendar">
                <td class="serendipity_calendarDay FirstInRow">12</td>
                <td class="serendipity_calendarDay Active Link"><a href="http://www.linuxlefty.com/blog/archives/2007/11/13.html">13</a></td>
                <td class="serendipity_calendarDay ">14</td>
                <td class="serendipity_calendarDay ">15</td>
                <td class="serendipity_calendarDay ">16</td>
                <td class="serendipity_calendarDay ">17</td>
                <td class="serendipity_calendarDay LastInRow">18</td>
            </tr>
        <tr class="serendipity_calendar">
                <td class="serendipity_calendarDay FirstInRow Active Link"><a href="http://www.linuxlefty.com/blog/archives/2007/11/19.html">19</a></td>
                <td class="serendipity_calendarDay Active Link"><a href="http://www.linuxlefty.com/blog/archives/2007/11/20.html">20</a></td>
                <td class="serendipity_calendarDay ">21</td>
                <td class="serendipity_calendarDay ">22</td>
                <td class="serendipity_calendarDay ">23</td>
                <td class="serendipity_calendarDay ">24</td>
                <td class="serendipity_calendarDay LastInRow">25</td>
            </tr>
        <tr class="serendipity_calendar">
                <td class="serendipity_calendarDay FirstInRow LastRow">26</td>
                <td class="serendipity_calendarDay LastRow Active Link"><a href="http://www.linuxlefty.com/blog/archives/2007/11/27.html">27</a></td>
                <td class="serendipity_calendarDay LastRow">28</td>
                <td class="serendipity_calendarDay LastRow">29</td>
                <td class="serendipity_calendarDay LastRow">30</td>
                <td class="serendipity_calendarDay LastRow">&#160;</td>
                <td class="serendipity_calendarDay LastInRow LastRow">&#160;</td>
            </tr>
</table></div>
</div>
<div class="serendipitySideBarItem container_serendipity_quicksearch_plugin">
    <div class="title serendipityTitle"><h3 class="serendipitySideBarTitle serendipity_quicksearch_plugin">Quicksearch</h3></div>        <div class="serendipitySideBarContent box"><form id="searchform" action="/blog/index.php" method="get">
<div>
    <input type="hidden"  name="serendipity[action]" value="search" />
    <input alt="Quicksearch" type="text"   id="serendipityQuickSearchTermField" name="serendipity[searchTerm]" size="13" />
    <input class="quicksearch_submit" type="submit" value="&gt;" alt="Quicksearch" name="serendipity[searchButton]" title="Go!" style="width: 2em;" />
</div>
<div id="LSResult" style="display: none;"><div id="LSShadow"></div></div>

Archives

<div class="serendipitySideBarItem container_serendipity_categories_plugin">
    <div class="title serendipityTitle"><h3 class="serendipitySideBarTitle serendipity_categories_plugin">Categories</h3></div>        <div class="serendipitySideBarContent box"><form action="http://www.linuxlefty.com/blog/index.php?frontpage" method="post">
          <div id="serendipity_category_form_content"><ul id="serendipity_categories_list" style="list-style: none; margin: 0px; padding: 0px"><li class="category_depth0 category_6" style="display: block;"><input style="width: 15px" type="checkbox" name="serendipity[multiCat][]" value="6" /><a class="serendipity_xml_icon" href="/blog/feeds/categories/6-Christianity.rss"><img src="/blog/templates/default/img/xml.gif" alt="XML" style="border: 0px" /></a> <a href="/blog/categories/6-Christianity" title="My thoughts about being a Christian" style="padding-left: 0px">Christianity</a></li>

  • XML Lessons learned
  • XML Computers
  • XML Linux
  • XML Programming
  • XML Family
  • XML Funny
  • XML Media
  • XML Books
  • XML Movies
  • XML Music
  • XML Misc
  • XML Musings
  • XML School
  • XML English
  • XML Travel
  • XML China
  • XML Website
  • XML Tutorials

  • Syndicate This Blog

    <div class="serendipitySideBarItem container_serendipity_superuser_plugin">
        <div class="title serendipityTitle"><h3 class="serendipitySideBarTitle serendipity_superuser_plugin">Blog Administration</h3></div>        <div class="serendipitySideBarContent box"><a href="/blog/admin" rel="nofollow" title="Open login screen">Open login screen</a></div>
    </div>
    <div class="serendipitySideBarItem container_serendipity_plug_plugin">
        <div class="title serendipityTitle"><h3 class="serendipitySideBarTitle serendipity_plug_plugin">Powered by</h3></div>        <div class="serendipitySideBarContent box"><div class="serendipityPlug">
    <a title="Powered by Serendipity" href="http://www.s9y.org/"><img src="/blog/templates/default/img/s9y_banner_small.png" alt="Serendipity PHP Weblog" style="border: 0px" /></a>
    

     Get Email Updates!