atomsite.net

The AtomPub server for .NET

News Blog - For July 2009

  1. Alter an Individual Collection’s Layout and Appearance

    I've received multiple questions on how to alter the appearance of one collection from another if they both use the blog plugin.  The blog plugin provides multiple views on a collection such as:

    ChangePageTemplate
    • Blog Entry (with expanded approval and commenting features)
    • Blog Listing (which supports view by year, month, day, category, author, contributor, etc.)
    • Blog Home
    • Windows Live Writer Manifest
    • Site Map

    So, for example, when both the blog collection and page collection use the same plugin, they also use the same view.  This means that they ultimately use the same core markup for display in the browser.  However, through composition and the usage of YUI Grids, you can make one collection look very different from the other collection even if they are using the same views.

    Let's take this very site, http://atomsite.net and dissect how it makes the info pages look different from the blog pages without changing the core markup.

    1. First, within the service.config file, change the YUI Grid Template for the page as seen in the picture to the right. The default value is yui-t6 but for the BlogEntry and BlogListing pages in the info collection, I've changed it to yui-t2.  This makes the side bar show up on the left side and makes it smaller.
    2. Next, change the widgets that show up in the sidebar.  For the Info Collection, I've put a table of contents index entry in the sidebar for easy navigation of the documentation.  I've also moved the search widget to below the content.
    3. Finally, tweak the CSS to get the perfect look by using the yui-t2 class selector.

    TemplateCssSelector

    If you need even further control over the markup, AtomSite supports having different themes across collections. 

    In a future release (hopefully AtomSite 1.3), we'll add the doc and template settings to AtomSite Manager so they are easy to change. 

    Learn About YUI Grids Learn More About Themes

    Posted by JarrettV on July 21 at 9:38 AM

  2. AtomSite Now Available on Web Platform Installer

    image

    I'm pleased to announce that AtomSite is now available in the Windows Web App Gallery and can easily be installed using the Web Platform Installer.

    The installer can put AtomSite directly on your server and configure it with the required permissions to get the application up and running quickly. We've built and tested the application to work on IIS7 in integrated mode.  However, we are looking for testers and developers to help modify the application to run under Windows XP and Windows Server 2003 with older versions of IIS.  Please contact us if you interested in helping us support those platforms.

    To the right is a picture of the Web Platform Installer running within IIS7.  Installing is as easy as clicking a button and choosing the file and web locations.

    See AtomSite in the Web Platform Gallery

    Posted by JarrettV on July 20 at 12:16 AM

© Copyright 2012 Powered by AtomSite 1.4.0.0