Skip to content

Instantly share code, notes, and snippets.

View sjenkinsdc's full-sized avatar

Stacey Jenkins sjenkinsdc

View GitHub Profile
@sjenkinsdc
sjenkinsdc / gist:6454913
Created September 5, 2013 19:26
Example of SAXOTECH Online / NEWSCYCLE Digital comments in macro and object files http://www.tamberra.com/blog/documenting_object_files_using_html_comments.html
[%{HTMLComments}
<!-- ============================================================================
File: /macros/blog/sidebar.pbo
Author: Stacey Jenkins and Kara Noreika
Date: 8/5/13
Notes: Content Area
============================================================================ -->
%]
@sjenkinsdc
sjenkinsdc / gist:6454932
Created September 5, 2013 19:28
Example of SAXOTECH Online / NEWSCYCLE Digital Comments in object and macro files - MOD comments http://www.tamberra.com/blog/documenting_object_files_using_html_comments.html
[%{HTMLComments}
<!-- ============================================================================
File: /macros/blog/sidebar.pbo
Author: Stacey Jenkins and Kara Noreika
Date: 8/5/13
Notes: Content Area
MOD: SJJ 8/5/2013 - I refactored the css
============================================================================ -->
%]
@sjenkinsdc
sjenkinsdc / gist:6464205
Created September 6, 2013 13:58
Using SAXOTECH/NEWCYCLE pbs:contentlist tag to create a tag cloud
<div class="block">
<h3 class="block-title sub-title"><span>Tags</span></h3>
<div class="tags">
<pbs:contentlist useobjects=1 objectclass=3 Categories=blog Days=365 Count=20 Showref=300 sort="date desc" FacetFields="Taxonomy">
</div>
</div>
@sjenkinsdc
sjenkinsdc / gist:6464415
Created September 6, 2013 14:15
Using SAXOTECH/NEWSCYCLE pbs:contentlist to create a tag cloud. contentlist.pbo
[%{HTMLComments}
<!--
// ==========================================================================================
// File: objects/contentlist3.pbo
// Desc: For tag cloud on blog sidebar
// Author: stacey jenkins
// Date: 8/8/2013
// Mods:
// ==========================================================================================
-->
@sjenkinsdc
sjenkinsdc / gist:6464507
Created September 6, 2013 14:22
Using SAXOTECH/NEWSCYCLE pbs:contentlist to create a tag cloud. contentListFacetList.pbo
[%{HTMLComments}
<!--
// ==========================================================================================
// File: objects/contentlistFacetList3.pbo
// Desc:
// Author: stacey jenkins stacey@staceyjenkins.com
// Date: 8/8/2013
// Mods:
// ==========================================================================================
-->
@sjenkinsdc
sjenkinsdc / gist:6464590
Created September 6, 2013 14:29
Using SAXOTECH/NEWSCYCLE pbs:contentlist tag to create a tag cloud. contentListFacetItem.pbo
[%{HTMLComments}
<!--
// ==========================================================================================
// File: objects/contentlistFacetItem3.pbo
// Desc: Lists the facets used in the contentlist tag. Specifically for the blog archive
// Author: stacey jenkins
// Date: 8/8/2013
// Mods:
// ==========================================================================================
-->
@sjenkinsdc
sjenkinsdc / newsitem.pbo
Created September 19, 2013 15:26
Example of using <%islastitem%> to eliminate a trailing comma
<%title%>[%{!islastitem}, %]
@sjenkinsdc
sjenkinsdc / Wrapper Object File
Created September 19, 2013 21:24
Example of Saxotech object files using regex to eliminate trailing comma. Wrapper object file
<%Items$r(",(?!.*,)=")%>
@sjenkinsdc
sjenkinsdc / Item Object File
Created September 19, 2013 21:25
Example of Saxotech object files using regex to eliminate trailing comma. Item object file
<%variable%>,
@sjenkinsdc
sjenkinsdc / gen_categorySection.pbs
Created October 4, 2013 20:33
SAXOTECH/NEWSCYCLE sample template for generating content on the fly based on editors decisions.
<section class="topNewsSection">
<hr class="sectionDivider">
<pbs:!newslist category="#category#" days="99" useobjects=1 objectclass="1" count="3" showref="300" priosortonly priosort="1">
</section>