<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Jefferson&#039;s Newspaper &#187; Reference</title>
	<atom:link href="http://jeffersonsnewspaper.org/topics/reference/feed/" rel="self" type="application/rss+xml" />
	<link>http://jeffersonsnewspaper.org</link>
	<description>A blog about information, education, and the (digital) humanities...</description>
	<lastBuildDate>Thu, 02 Feb 2012 16:01:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Tips for Using the WordPress Admin Bar with BuddyPress</title>
		<link>http://jeffersonsnewspaper.org/2012/tips-for-using-the-wordpress-admin-bar-with-buddypress/</link>
		<comments>http://jeffersonsnewspaper.org/2012/tips-for-using-the-wordpress-admin-bar-with-buddypress/#comments</comments>
		<pubDate>Fri, 20 Jan 2012 15:47:18 +0000</pubDate>
		<dc:creator>E. Bell</dc:creator>
				<category><![CDATA[Reference]]></category>
		<category><![CDATA[buddypress]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress network]]></category>
		<category><![CDATA[wpmu]]></category>

		<guid isPermaLink="false">http://jeffersonsnewspaper.org/?p=1227</guid>
		<description><![CDATA[If you run a WordPress Network that uses BuddyPress, you are probably aware of the distinctions between the WordPress and BuddyPress admin bars (or in the latter case, the &#8220;buddy bar&#8221;), so we can jump right to the point: You are no longer using the buddy bar, and are now using the core admin bar; there is something you don&#8217;t like about this arrangement and you need to change it. Well, here are a few...]]></description>
			<content:encoded><![CDATA[<p><img src="http://jeffersonsnewspaper.org/wp-content/uploads/2012/01/helmets.png" alt="" title="Admin Bar vs. Admin Bar"  class="aligncenter size-full wp-image-1245" /><br />
If you run a WordPress Network that uses BuddyPress, you are probably aware of the distinctions between the WordPress and BuddyPress admin bars (or in the latter case, the &#8220;buddy bar&#8221;), so we can jump right to the point: You are no longer using the buddy bar, and are now using the core admin bar; there is something you don&#8217;t like about this arrangement and you need to change it. Well, here are a few quick tricks.</p>
<p><span id="more-1227"></span></p>
<p>Each of these snippets (with one noted exception) can be added to functions.php of your main blog theme or you can create a simple <a href="http://codex.wordpress.org/Writing_a_Plugin" title="Writing a plugin @ WP Codex">plugin</a>. </p>
<h4>Swap the BuddyBar for the Admin Bar</h4>
<p>If you somehow are still using the buddy bar, try one of the following methods. (You may also need to adjust your CSS slightly to accommodate the differences between the two admin bars.)</p>
<p>Here is the preferred BuddyPress method, which is simply added to wp-config.php:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">/*
** Add the following to wp-config.php
** Removes BP admin bar and replaces it with the WP admin bar
*/</span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span> ‘BP_USE_WP_ADMIN_BAR’<span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">true</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>If for some reason you find that the above method does not work, you may try adding the following to functions.php</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #666666; font-style: italic;">/*
** The following removes BP admin bar and replaces it with the WP admin bar
*/</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> remove_bp_adminbar<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
     remove_action<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'wp_footer'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'bp_core_admin_bar'</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">8</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
     remove_action<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'admin_footer'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'bp_core_admin_bar'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
     show_admin_bar<span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
add_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'after_setup_theme'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'remove_bp_adminbar'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<h4>Remove something from the Admin Bar</h4>
<p>To remove a menu item, you just need to know its HTML div id. This example removes the WordPress logo and menu.  See <a href="http://codex.wordpress.org/Function_Reference/remove_node" title="remove_node @ WP Codex">remove_node()</a>.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #666666; font-style: italic;">/*
** The following removes the WordPress menu and logo
** wp-admin-bar-wp-logo is the div id in the menu HTML but we just use wp-logo 
** see http://codex.wordpress.org/Function_Reference/remove_node
*/</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> admin_bar_remove_this<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
     <span style="color: #000000; font-weight: bold;">global</span> <span style="color: #000088;">$wp_admin_bar</span><span style="color: #339933;">;</span>
     <span style="color: #000088;">$wp_admin_bar</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">remove_node</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'wp-logo'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
     <span style="color: #009900;">&#125;</span>
     add_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'wp_before_admin_bar_render'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'admin_bar_remove_this'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<h4>Adding something to the Admin Bar</h4>
<p>Similarly, you can add a new menu item to an existing HTML div id. Here we are adding a link to create a new category within the +New menu.  See <a href="http://codex.wordpress.org/Function_Reference/add_node" title="add_node @ WP Codex">add_node()</a>.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #666666; font-style: italic;">/*
** The following adds a link item to create a new &quot;Category&quot; within the &quot;+New&quot; menu
** wp-admin-bar-new-content is the div id in the menu HTML but we just use new-content 
** see http://codex.wordpress.org/Function_Reference/add_node
*/</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> admin_bar_add_this<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
     <span style="color: #000000; font-weight: bold;">global</span> <span style="color: #000088;">$wp_admin_bar</span><span style="color: #339933;">;</span>
     <span style="color: #000088;">$newcat</span><span style="color: #339933;">=</span>get_site_url<span style="color: #009900;">&#40;</span> BP_ROOT_BLOG <span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'/wp-admin/edit-tags.php?taxonomy=category'</span><span style="color: #339933;">;</span>
     <span style="color: #000088;">$wp_admin_bar</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">add_node</span><span style="color: #009900;">&#40;</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span>
          <span style="color: #0000ff;">'parent'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'new-content'</span><span style="color: #339933;">,</span>
          <span style="color: #0000ff;">'title'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'Category'</span><span style="color: #339933;">,</span>
          <span style="color: #0000ff;">'href'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$newcat</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
     <span style="color: #009900;">&#125;</span>
add_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'wp_before_admin_bar_render'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'admin_bar_add_this'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<h4>Make it Easier for Network Users to Create New Blogs</h4>
<p>The BuddyPress dev team has added Notifications and some other BP-specific features to the admin bar, but the link to &#8220;Create a new site&#8221; is still missing as of v. 1.5.3 (UPDATE: actually, this would be a WP issue, not BP; <a href="http://core.trac.wordpress.org/ticket/19862" title="Ticket 19862 @ WP Trac">track this issue here</a>). If you have a very active community, especially one that routinely creates new sites (e.g. a university course blog network), they will notice this absence. To add another complication, BuddyPress redirects wp-signup.php to the network homepage, meaning the default WordPress Network mode method for creating a new site is broken (UPDATE: <a href="http://buddypress.trac.wordpress.org/ticket/3941" title="Ticket 3941 @ BP Trac">track this issue here</a>). Luckily both of these are easy to fix.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #666666; font-style: italic;">/*
** The following adds a link to &quot;Create a new site&quot; under &quot;My Sites&quot; menu
*/</span>
<span style="color: #000000; font-weight: bold;">function</span> admin_bar_create_blog_link<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
     <span style="color: #000000; font-weight: bold;">global</span> <span style="color: #000088;">$wp_admin_bar</span><span style="color: #339933;">;</span>
     <span style="color: #000088;">$create</span><span style="color: #339933;">=</span>get_site_url<span style="color: #009900;">&#40;</span> BP_ROOT_BLOG <span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'/blogs/create/'</span><span style="color: #339933;">;</span>
     <span style="color: #000088;">$wp_admin_bar</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">add_node</span><span style="color: #009900;">&#40;</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span>
          <span style="color: #0000ff;">'parent'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'my-sites'</span><span style="color: #339933;">,</span>
          <span style="color: #0000ff;">'title'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'Create a new site'</span><span style="color: #339933;">,</span>
          <span style="color: #0000ff;">'href'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$create</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
add_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'wp_before_admin_bar_render'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'admin_bar_create_blog_link'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">/*
** The following fixes the dashboard link for &quot;Create a new site&quot;
** By default, WordPress sends the user to wp-signup.php to create a site
** But wp-signup.php is redirected to the network homepage by BuddyPress as of 3.1+ and 1.5.3+ respectively
** This just filters that core behavior to use the BuddyPress link instead
*/</span>
add_filter<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'wp_signup_location'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'bp_blog_creation_link'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">function</span> bp_blog_creation_link<span style="color: #009900;">&#40;</span><span style="color: #000088;">$old</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
     <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">function_exists</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'bp_include'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
     <span style="color: #b1b100;">return</span> get_site_url<span style="color: #009900;">&#40;</span> BP_ROOT_BLOG <span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'/blogs/create/'</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>Feel free to make additional suggestions in the comments.</p>
]]></content:encoded>
			<wfw:commentRss>http://jeffersonsnewspaper.org/2012/tips-for-using-the-wordpress-admin-bar-with-buddypress/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Migrating from ContentDM to Omeka</title>
		<link>http://jeffersonsnewspaper.org/2011/migrating-from-contentdm-to-omeka/</link>
		<comments>http://jeffersonsnewspaper.org/2011/migrating-from-contentdm-to-omeka/#comments</comments>
		<pubDate>Wed, 14 Sep 2011 13:47:46 +0000</pubDate>
		<dc:creator>E. Bell</dc:creator>
				<category><![CDATA[Reference]]></category>
		<category><![CDATA[contentDM]]></category>
		<category><![CDATA[csv import]]></category>
		<category><![CDATA[digital humanities]]></category>
		<category><![CDATA[library stuff]]></category>
		<category><![CDATA[omeka]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[tab delimited export]]></category>

		<guid isPermaLink="false">http://jeffersonsnewspaper.org/?p=423</guid>
		<description><![CDATA[Seems like the Omeka forums get a lot of traffic from people looking to migrate from ContentDM to Omeka. I, personally, get inquiries about this all the time (for some unknown reason). So I figured I may as well share what I know about the process here so I can just send a link or you can find it on Google or whatever. It&#8217;s worth noting at the outset that I don&#8217;t know anything about...]]></description>
			<content:encoded><![CDATA[<p><img src="http://jeffersonsnewspaper.org/wp-content/uploads/2009/08/box.png" alt="" title="box" width="630" height="auto" class="aligncenter size-full wp-image-1128" /><br />
Seems like the Omeka forums get a lot of traffic from people looking to migrate from ContentDM to Omeka. I, personally, get inquiries about this all the time (for some unknown reason). So I figured I may as well share what I know about the process here so I can just send a link or you can find it on Google or whatever. </p>
<p><span id="more-423"></span></p>
<p>It&#8217;s worth noting at the outset that I don&#8217;t know anything about generating ContentDM export files <del datetime="2011-09-23T13:48:55+00:00">(partially because even the ContentDM <em><a href="http://www.oclc.org/us/en/contentdm/support/default.htm" title="Good luck with this...">documentation</a></em> is proprietary, or at least hidden behind a login)</del>. But I do know that every time someone has sent me a cDM export file, it is in tab-delimited format (<strong>UPDATE:</strong> here is the <a href="http://www.contentdm.org/help6/collection-admin/exporting2.asp" title="Exporting to Tab-delimited Text Files @ ContentDM">Tab-delimited export documentation</a>), which is basically a plain text spreadsheet. I gather these spreadsheets can be produced pretty easily so I think we can start by assuming you already have the spreadsheet and need to prep it for import into Omeka, which will be done in this tutorial using the CSV Import plugin. If you are not already familiar with how that plugin works, check out the <a href="http://omeka.org/codex/Plugins/CsvImport" title="CSV Import plugin @ Omeka.org">documentation page at Omeka.org</a> before continuing.</p>
<h4>You probably need to use Excel</h4>
<p>First, open the tab-delimited spreadsheet in Microsoft Excel. You will later save this file in CSV format. If you prefer using non-MS spreadsheet software, you are probably out of luck. As far as I know, neither OpenOffice/LibreOffice nor Apple&#8217;s Numbers have an equivalent &#8216;Text-to-Columns&#8230;&#8217; functionality, which will be used in this process. </p>
<h4>Remove unwanted and problematic rows/columns, Rename column headers</h4>
<p>Once you have your spreadsheet open in Excel, go ahead and remove any ContentDM-specific administrative metadata, or anything else you don&#8217;t wish to carry over to Omeka during the migration. At this point, you should probably rename the column headings to something meaningful. This will help with the crosswalk step later.</p>
<h4>Breaking out semicolon-delimited values</h4>
<p>Next, you will want to check for columns having multiple entries within a single cell. At the very least, this will probably include the Subjects column (because archivists/librarians are <em>never</em> satisfied with assigning just one subject term&#8230; subject classification being the <a href="http://youtu.be/QRzcjw9l6xo" title="Lay's 'Betcha Can't Eat Just One' commercial, circa 1980s">Lay&#8217;s potato chip</a> of librarianship). By default, these multiple subjects will be separated by a semicolon (e.g. &#8220;Librarianship &#8212; Potato Chip Analogies; Librarianship &#8212; Puns; Librarianship &#8212; Personality Disorders;&#8221; ). Instead of copying each one of these entries into a new Subjects column, you can just use the &#8220;Data > Text to Columns&#8230;&#8221; feature in Excel. I recommend using a separate worksheet for this step as the new columns will overwrite your existing ones if you are not careful.</p>
<h4>Getting the File Path URLs</h4>
<p>So you&#8217;ve shaped up all the metadata on the spreadsheet. Now you need to define the path to the item file in ContentDM. This is probably the trickiest part to come up with on your own, especially if you are not so familiar with ContentDM. Basically, our starting point will be the cDM &#8220;Reference URL.&#8221; Those look something like this: <a href="http://images.ulib.csuohio.edu/u?/press,59" title="example of a ContentDM reference URL from the Cleveland Memory Project">http://images.ulib.csuohio.edu/u?/press,59</a>. Assuming you have a whole column of Reference URLs, you need to run a Find and Replace to create your file path (again, I recommend doing this in a separate worksheet so you don&#8217;t accidentally overwrite important data). Let&#8217;s begin.</p>
<p><strong>UPDATE:</strong> in ContentDM version 6+, <a href="http://www.contentdm.org/help6/custom/customize2ai.asp" title="GetFile @ ContentDM">ShowFile is replaced by GetFile</a>. Adjust the following instructions as needed (i.e. in the first Find and Replace, swap out showfile.exe with getfile.exe).</p>
<p>Start with something like:<br />
<code>http://images.ulib.csuohio.edu/u?/press,59</code></p>
<p>FIND this:<br />
<code>u?/</code><br />
&#8230; and REPLACE with this:<br />
<code>cgi-bin/showfile.exe?CISOROOT=/</code></p>
<p>Next, FIND this:<br />
<code>,</code><br />
&#8230;and REPLACE with:<br />
<code>&#038;CISOPTR=</code></p>
<p>So now we have something that looks like:<br />
<code>http://images.ulib.csuohio.edu/cgi-bin/showfile.exe?CISOROOT=/press&#038;CISOPTR=59</code></p>
<p>This is a working file path that can be used by the CSV Import plugin to ingest the item file along with the metadata record. </p>
<p>In some instances, you might need to tweak this process. For example, if your ContentDM installation includes JP2 or TIF files (or some other unfriendly image format) but you don&#8217;t want the hassle of building a custom display wrapper into your Omeka theme, you can append some additional query string parameters to your file URL. </p>
<p>So if you want ContentDM to serve up a JPG instead of a JP2 (or other&#8230;) file, add this to your file column<br />
<code>&#038;DMSCALE=100.00000&#038;DMWIDTH=1600&#038;DMHEIGHT=1600&#038;DMX=0&#038;DMY=0&#038;DMTEXT=&#038;REC=1&#038;DMTHUMB=0&#038;DMROTATE=0</code><br />
&#8230;using this Excel function (where A2 is the first column/cell in need of appending):<br />
<code>=CONCATENATE(A2,"&#038;DMSCALE=100.00000&#038;DMWIDTH=1600&#038;DMHEIGHT=1600&#038;DMX=0&#038;DMY=0&#038;DMTEXT=&#038;REC=1&#038;DMTHUMB=0&#038;DMROTATE=0")</code></p>
<p>Finally, you need to swap <em>showfile</em> with <em>getimage</em> in the file URL above by running one more find and replace in Excel.</p>
<p>So now, your file path looks like:<br />
<code>http://images.ulib.csuohio.edu/cgi-bin/getimage.exe?CISOROOT=/press&#038;CISOPTR=59&#038;DMSCALE=100.00000&#038;DMWIDTH=1600&#038;DMHEIGHT=1600&#038;DMX=0&#038;DMY=0&#038;DMTEXT=&#038;REC=1&#038;DMTHUMB=0&#038;DMROTATE=0</code></p>
<p>This will return a JPG file, which is pretty handy. <del datetime="2011-09-23T13:48:55+00:00">These additional parameters will vary by installation and file type. I don&#8217;t know what all of the parameters are or even what each one does; only that this usually works. Again, this is a case where actual ContentDM documentation would be really handy.</del> <strong>UPDATE: </strong>Keep in mind that this only works with image file types. For more details, check out the <a href="http://www.contentdm.org/help6/custom/customize2aj.asp" title="GetImage @ ContentDM">GetImage documentation</a>.</p>
<h4>Metadata Crosswalk</h4>
<p>It&#8217;s usually a good idea to plan out your <a href="http://en.wikipedia.org/wiki/Schema_crosswalk" title="Schema Crosswalk @ Wikipedia">metadata crosswalk</a> in advance, especially if you have multiple export files (and you should if your collection is bigger than a few hundred items; more on that later).  Remember that Omeka – out of the box – only uses the <a href="http://omeka.org/codex/Working_with_Dublin_Core" title="Working with Dublin Core @ Omeka Codex">first 15 Dublin Core elements</a>.  You may need to <a href="http://omeka.org/codex/Managing_Item_Types" title="Managing Item Types @ Omeka Codex">add a new Item Type</a> or install <a href="http://omeka.org/codex/Plugins/DublinCoreExtended" title="DublinCoreExtended @ Omeka Codex ">Dublin Core Extended</a> in order to find/create an appropriate home for your legacy/custom metadata in Omeka. </p>
<h4>Batching</h4>
<p>To avoid server timeouts, you should consider breaking your spreadsheets into manageable batches. I try not to import more than a few hundred items at a time, and even then one of the two servers involved is likely to timeout or throw an error or something. Keeping the batches small makes it easier to isolate problems, avoid import errors, and undo problematic imports.</p>
<h4>Using the CSV Import Plugin</h4>
<p>From here, just follow the standard instructions for using the <a href="http://omeka.org/codex/Plugins/CsvImport" title="CSV Import plugin @ Omeka.org">CSV Import plugin</a>.</p>
<h4>Bugs, Known Issues, and Limitations</h4>
<p>As of version 1.3, there are still some quirks. For example, your file path – that hideous long URL you worked so hard to create – will become the actual name of your imported/migrated file. In some instances, your files may be ingested sans file extension (e.g. .pdf, .jpg, .mp3), which can cause various headaches (though it&#8217;s worth noting that these files will generally display inline on your site, due to the way most Omeka themes handle media files, and will only break down when someone tries to download the file, in which case they would need to manually add the file extension). From time to time, you could have an import that hangs indefinitely, never finishing and never failing &#8212; and thus not easily &#8220;undo-able&#8221; (at least, the &#8220;Undo Import&#8221; button will not be visible). In such a case, you can manually create that button by entering the following URL pattern into your address bar: </p>
<p><code>http://[PATH TO YOUR OMEKA INSTALLATION]/admin/csv-import/index/undo-import/id/[IMPORT ID]</code> </p>
<p>&#8211; this is on the plugin documentation page by the way, as are several other points in this tutorial. </p>
<p>One of the biggest limitations of the CSV import strategy is that you will probably have issues migrating compound objects and other multi-file items, primarily because of the way ContentDM formats the export file and serves compound objects online and partially due to limitations in the way the plugin works with Omeka. Basically, you need all the files for an item to be in the same row as all of the other item-level metadata (e.g. in columns like &#8220;File 1,&#8221; &#8220;File 2,&#8221; &#8220;File 3,&#8221; etc). And there is currently no way to use the CSV Import plugin to assign file-level metadata. For example, if you had a postcard in your ContentDM collection and it had distinct metadata for each side (say, for front.jpg and verso.jpg), along with general metadata for the object as whole, something is going to be lost in the migration without some serious elbow grease.</p>
<p>The <a href="https://groups.google.com/forum/#!searchin/omeka-dev/csv" title="CSV search results @ Omeka Dev">Omeka Dev forums</a> are the best place to report bugs, inquire about error messages, discuss workarounds, and submit patches. The general <a href="http://omeka.org/forums/" title="Omeka Forums">Omeka Forums</a> are also great for more basic questions; happily, most questions get answered in fairly short order. <em>Please do not post support questions here.</em> Please <em>do</em>, however, feel free to leave general comments, suggestions for improvement, requests for clarification, etc.</p>
<p>IMAGE NOTE: poorly Photoshopped post image contains assets by multiple artists and designers, including the amazing &#8220;Bob&#8221; sketch from <a href="http://twinpeaksarchive.blogspot.com/2007/07/exclusive-matt-haley-interview.html" title="Matt Haley interview @ Twin Peaks Archive">Matt Haley&#8217;s unreleased but totally awesome sounding <em>Twin Peaks: Season 3</em> graphic novel</a>. </p>
]]></content:encoded>
			<wfw:commentRss>http://jeffersonsnewspaper.org/2011/migrating-from-contentdm-to-omeka/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Acronyms and Initialisms My Library Degree Failed to Teach</title>
		<link>http://jeffersonsnewspaper.org/2011/acronyms-and-initialisms-my-library-degree-failed-to-teach/</link>
		<comments>http://jeffersonsnewspaper.org/2011/acronyms-and-initialisms-my-library-degree-failed-to-teach/#comments</comments>
		<pubDate>Sat, 26 Mar 2011 08:38:21 +0000</pubDate>
		<dc:creator>E. Bell</dc:creator>
				<category><![CDATA[Education]]></category>
		<category><![CDATA[Reference]]></category>
		<category><![CDATA[curriculum]]></category>
		<category><![CDATA[digital humanities]]></category>
		<category><![CDATA[graduate school]]></category>
		<category><![CDATA[metadata]]></category>
		<category><![CDATA[MLIS]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://jeffersonsnewspaper.org/?p=886</guid>
		<description><![CDATA[I&#8217;ve been told many times since completing my M.L.I.S. that most skills related to library and archival work are developed on the job.  In fact, I realized about halfway through my degree program that my professional training would continue well after grad school. Not unlike other professional-academic hybrid programs, library school provided a sufficient foundation, but the bigger challenges and learning experiences came during my practicum and in my daily work, as well as in...]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been told many times since completing my M.L.I.S. that most skills related to library and archival work are developed <em>on the job</em>.  In fact, I realized about halfway through my degree program that my professional training would continue well after grad school. Not unlike other professional-academic hybrid programs, library school provided a sufficient foundation, but the bigger challenges and learning experiences came during my practicum and in my daily work, as well as in the various (un)conferences and workshops I&#8217;ve attended and professional development courses I&#8217;ve elected to take since graduation.  In many ways, this suits the overall learning style and personality of the &#8220;typical&#8221; librarian or archivist (without getting onto a tangent, I think it&#8217;s safe to assume that most librarians would <em>consider themselves </em>to be relatively eclectic and prolific learners).  Generally, this approach to learning is indeed a very comfortable one for me.  While I enjoyed the rich academic world of the humanities as an undergrad &#8211; exploring ideas through research, reading and writing &#8211; library and information science requires a higher degree of  hands-on experience and purposeful technical training.  Sure, LIS programs include conventional graduate reading seminars, research papers, etc. But unlike, say, history, where a historian-in-training may expect to use and hone these skills over the course of a long career in scholarly research and writing, the average librarian or archivist will not be publishing books, writing for academic journals, or conducting original research.  Information professionals certainly need an academic, scholarly background, but I&#8217;m not sure I consider them (us) to be academics or scholars in the usual sense.  We have too many responsibilities, too many constituencies, too many rules and protocols, and too many acronyms and abbreviations.</p>
<p><span id="more-886"></span>Though we know information work is highly technical, it seems most library and information science programs are not &#8212; even when the faculty are involved in cutting edge technical research.  The programs are relatively short, culminating after just 1-2 years &#8212; not much time, especially considering that, unlike most other graduate programs, LIS students are generally starting from scratch with degrees in unrelated fields.  As such, the curriculum is broad but mostly shallow, save for some specialized tracks and doctoral programs. The following is my shortlist of abbreviations and acronyms that I&#8217;ve come to view as important to my work in public/digital history, digital humanities, and educational technology.  I don&#8217;t work in a library exactly, but I know firsthand that many of these are also important in that setting as well.</p>
<p>&nbsp;</p>
<p><strong>API</strong><br />
<em> Application Programming Interface</em><br />
APIs connect different platforms and programs, most often via established functions and methods.  Twitter, Facebook, Flickr, Google and many other web services provide open APIs that allow you to embed, feed, and connect with their services on your own site or application.  Operating systems, content management systems (WordPress, Drupal, dSpace, etc.), game engines, and programming languages (Ruby on Rails, jQuery, etc.) all have APIs that allow programmers to tap into, customize and extend functionality.</p>
<ul>
<li><a title="API @ Wikipedia" href="https://secure.wikimedia.org/wikipedia/en/wiki/Application_programming_interface">API @ Wikipedia</a></li>
</ul>
<p>&nbsp;</p>
<p><strong>XML </strong><br />
<em> eXtensible Markup Language</em><br />
XML is the core of several languages, tool, and protocols used in digital archives, digital humanities, and general web development.  In my experience, it is kind of a bear to work with, but is nonetheless worth investigating as it is the basis of RSS, EAD, and TEI, among others familiar to M.L.I.S.s.</p>
<ul>
<li><a title="XML @ Wikipedia" href="https://secure.wikimedia.org/wikipedia/en/wiki/Xml">XML @ Wikipedia</a></li>
<li><a title="XSLT @ Wikipedia" href="https://secure.wikimedia.org/wikipedia/en/wiki/XSLT">XSLT @ Wikipedia</a></li>
<li><a title="TEI @ Wikipedia" href="https://secure.wikimedia.org/wikipedia/en/wiki/Text_Encoding_Initiative">TEI @ Wikipedia</a></li>
<li><a title="EAD @ Wikipedia" href="https://secure.wikimedia.org/wikipedia/en/wiki/Encoded_Archival_Description">EAD @ Wikipedia</a></li>
<li><a title="RSS @ Wikipedia" href="https://secure.wikimedia.org/wikipedia/en/wiki/RSS">RSS @ Wikipedia </a></li>
</ul>
<p>&nbsp;</p>
<p><strong>JSON</strong><br />
<em> JavaScript Object Notation</em><br />
JSON is a lightweight, <em>language-independent</em> data interchange format, billed as &#8220;<a title="JSON: The Fat Free Alternative to XML @ json.org" href="http://json.org/xml.html">The Fat Free Alternative to XML</a>.&#8221; I&#8217;ve never worked with it, but probably will at some point.</p>
<ul>
<li><a title="JSON @ Wikipedia" href="https://secure.wikimedia.org/wikipedia/en/wiki/JSON">JSON @ Wikipedia</a></li>
</ul>
<p>&nbsp;</p>
<p><strong>OOP</strong><br />
<em> Object Oriented Programming</em><br />
Okay, well, I&#8217;m listing OOP here as a placeholder for various programming languages, some of which are not, strictly speaking, object-oriented by definition. The point is that, while I was introduced to HTML and CSS for the first time in an elective grad school workshop, there&#8217;s really not that much you can do with those tools alone. Static webpages have limited use these days. Most libraries, archives, and digital humanities projects need someone who understands &#8211; or better, can do &#8211; programming/scripting on some level. The languages listed below are probably the most commonly used in the field, though as more projects start to involve mobile app development, <a title="Objective-C @ Wikipedia" href="https://secure.wikimedia.org/wikipedia/en/wiki/Objective-C">Objective-C</a> (iPhone) and <a title="JAVA @ Wikipedia" href="https://secure.wikimedia.org/wikipedia/en/wiki/Java_%28programming_language%29">Java</a> (Android) will also be in demand.</p>
<ul>
<li><a title="OOP @ Wikipedia" href="https://secure.wikimedia.org/wikipedia/en/wiki/Object-oriented_programming">OOP @ Wikipedia</a></li>
<li><a title="PHP @ Wikipedia" href="https://secure.wikimedia.org/wikipedia/en/wiki/PHP">PHP @ Wikipedia</a></li>
<li><a title="Javascript @ Wikipedia" href="https://secure.wikimedia.org/wikipedia/en/wiki/JavaScript">Javascript @ Wikipedia</a></li>
<li><a title="Ruby on Rails @ Wikipedia" href="https://secure.wikimedia.org/wikipedia/en/wiki/Ruby_on_Rails">Ruby on Rails @ Wikipedia</a></li>
<li><a title="Python @ Wikipedia" href="https://secure.wikimedia.org/wikipedia/en/wiki/Python_%28programming_language%29">Python @ Wikipedia</a></li>
</ul>
<p>&nbsp;</p>
<p><strong>LAMP</strong><br />
<em>Linux Apache MySQL Perl/PHP/Python</em><br />
Basically, a LAMP server is composed of several open source components, including MySQL for database service, Apache as the HTTP server, and pre-installed &#8220;P&#8221; programming languages (Perl/PHP/Python) running on some variety of Linux operating system. This LAMP &#8220;stack&#8221; is the basis of most sites on the web today.</p>
<ul>
<li><a title="LAMP @ Wikipedia" href="https://secure.wikimedia.org/wikipedia/en/wiki/LAMP_%28software_bundle%29">LAMP @ Wikipedia</a></li>
</ul>
<p>&nbsp;</p>
<p><strong>SQL</strong><br />
<em> Structured Query Language</em><br />
SQL, and particularly MySQL, is one of the most common relational database platforms in use on the web today. As part of the open source LAMP stack, it is available on nearly all web servers by default and forms the underlying data structure for most open source content management systems.  In recent years, a variety of alternative platforms have emerged under the banner of NoSQL, sparking some <a title="MySQL Diehard vs. NoSQL Fanboi: The Animated Movie @ RWW" href="http://www.readwriteweb.com/cloud/2010/09/an-amusing-take-mysql-diehard.php">amusing yet mostly incomprehensible (to me) debate</a>.</p>
<ul>
<li><a title="SQL @ Wikipedia" href="https://secure.wikimedia.org/wikipedia/en/wiki/Sql">SQL @ Wikipedia</a></li>
<li><a title="MySQL @ Wikipedia" href="https://secure.wikimedia.org/wikipedia/en/wiki/MySQL">MySQL @ Wikipedia</a></li>
<li><a title="PostgreSQL @ Wikipedia" href="https://secure.wikimedia.org/wikipedia/en/wiki/PostgreSQL">PostgreSQL @ Wikipedia</a></li>
<li><a title="NoSQL @ Wikipedia" href="https://secure.wikimedia.org/wikipedia/en/wiki/NoSQL">NoSQL @ Wikipedia</a></li>
</ul>
<p>&nbsp;</p>
<p><strong>DCMI</strong><br />
<em> Dublin Core Metadata Initiative</em><br />
A metadata schema for describing &#8220;physical resources such as books, digital materials such as video, sound, image, or text files, and composite media like web pages.&#8221; It is often said that Dublin Core is &#8220;capable of describing anything, though not particularly well.&#8221; Still, a good place to start.  Like the two metadata standards that follow, it is often used in conjunction with some type of XML. I&#8217;m listing just a few here but there are many others one might add to this list.</p>
<ul>
<li><a title="DCMI @ Wikipedia" href="https://secure.wikimedia.org/wikipedia/en/wiki/DCMI">DCMI @ Wikipedia</a></li>
</ul>
<p>&nbsp;</p>
<p><strong>METS</strong><br />
<em> Metadata Encoding and Transmission Standard</em><br />
Another metadata standard &#8220;for encoding descriptive, administrative, and structural metadata regarding objects within a digital library&#8221; using XML.</p>
<ul>
<li><a title="METS @ Wikipedia" href="https://secure.wikimedia.org/wikipedia/en/wiki/METS">METS @ Wikipedia</a></li>
</ul>
<p>&nbsp;</p>
<p><strong>DACS</strong><br />
<em>Describing Archives: A Content Standards </em><br />
And another metadata standard &#8220;for describing archives, personal papers, and manuscript collections.&#8221;</p>
<ul>
<li><a title="DACS @ Wikipedia" href="http://en.wikipedia.org/wiki/Describing_Archives:_A_Content_Standard">DACS @ Wikipedia</a></li>
</ul>
<p>&nbsp;</p>
<p><strong>DMCA</strong><br />
<em>Digital Millennium Copyright Act</em><br />
Understanding copyright legislation is essential for many projects in libraries, archives, education and digital publishing.  I name DMCA here mainly because it&#8217;s an abbreviation and thus fits into the scope of this post. It is difficult to imagine a web consisting only of the publisher&#8217;s own original content. Today we share, link, quote, and remix content created by others as part of our daily routines. Scholars post research material for students; archivists post manuscripts for researchers; librarians share book reviews; students and other user communities contribute to projects by uploading content. While most institutions have a copyright policy, it&#8217;s important that it be kept up to date, both for the organization&#8217;s protection, but also for the protection of our collective legal rights. If we take a casual view of copyright, we risk legal action on one end and the forfeiture of our power on the other. A large part of DMCA applies specifically to Digital Rights Management software (DRM) and the legality of circumventing it. Archivists of film, videogames, music and other commonly DRM&#8217;ed material obviously have something at stake here.</p>
<ul>
<li><a title="DMCA @ Wikipedia" href="https://secure.wikimedia.org/wikipedia/en/wiki/Digital_Millennium_Copyright_Act">DMCA @ Wikipedia</a></li>
<li><a title="Copyright @ ALA" href="http://www.ala.org/ala/issuesadvocacy/copyright/index.cfm">Copyright @ ALA</a></li>
<li><a title="DMCA @ EFF" href="https://www.eff.org/issues/dmca">DMCA @ EFF</a></li>
</ul>
<p>&nbsp;</p>
<p><strong>General Resources</strong><br />
<em> </em></p>
<ul>
<li><a title="W3 Schools" href="http://www.w3schools.com/">W3 Schools</a></li>
<li><a title="Mozilla School of WebCraft @ P2PU" href="http://p2pu.org/webcraft">Mozilla School of Web Craft @ P2PU</a></li>
</ul>
<p>&nbsp;</p>
<p>This list may seem overwhelming.  I wrote it and it overwhelms me, even two years out of grad school. And it&#8217;s not even comprehensive. But you have to start somewhere.</p>
<p>My progression from HTML newb only a couple years ago to, well, a newb of several additional, more difficult  things, came by way of hacking WordPress.  I&#8217;m sure this is quite  common. There are plenty of other ways to learn a programming  language, but from what I can tell the key factors are always going to be <em>necessity</em> and <em>specificity</em>. If your motivation is to complete a <em>specific</em> project (regardless of languages involved), you will be far more  likely to succeed and learn something than if you are simply trying to grasp the language  itself in an abstract, academic way. I have a book on Objective C sitting on my shelf, but until I  need to complete a real life project with Objective C, I probably won&#8217;t get much further than &#8220;Hello World!.&#8221; Find an actual need to develop these skills and you will probably make some progress. If nothing else, you will discover along the way all the things you don&#8217;t know, which is also helpful.</p>
<p>Another important thing to remember is that you will almost never be working from scratch. When you plan out a project, find something to serve as a solid foundation.  It may be a document to use as an example, a description of an existing project, an open source code base, or  some other fundamental element that <em>almost</em> fits your needs perfectly, and then figure out what needs to change to make it your own. As you go deeper and begin to produce your own content, this will seem less like copying and more like learning from and contributing to a community of practice.</p>
<p>Just to be clear, I want to close in defense of my education and alma mater (to which I will always be true or whatever). I was taught <em>of</em> these things (well, some of them), but not in any great detail; something that would be near  impossible in the context of a broad-based 1-2 year LIS program.  It&#8217;s worth noting that I was in a generic public library track and may have learned more about these issues in a more specialized setting.  I also  should clarify that I&#8217;m hardly an expert in most if any of these topics  and languages; there may be some better resources and explanations out there so please  share in the comments and/or via <a title="Twitter @ebellempire" href="http://twitter.com/ebellempire">twitter</a>.</p>
<p>What was/has been your experience with your MLIS program?  Did/do you feel prepared for a professional position coming out of grad school?  What would you add to this list?</p>
]]></content:encoded>
			<wfw:commentRss>http://jeffersonsnewspaper.org/2011/acronyms-and-initialisms-my-library-degree-failed-to-teach/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Adding a Featured Image Gallery to Omeka Using GalleryView</title>
		<link>http://jeffersonsnewspaper.org/2010/adding-a-featured-image-gallery-to-omeka-using-galleryview/</link>
		<comments>http://jeffersonsnewspaper.org/2010/adding-a-featured-image-gallery-to-omeka-using-galleryview/#comments</comments>
		<pubDate>Thu, 15 Jul 2010 03:39:39 +0000</pubDate>
		<dc:creator>E. Bell</dc:creator>
				<category><![CDATA[Reference]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[galleryview]]></category>
		<category><![CDATA[homepage]]></category>
		<category><![CDATA[image galleries]]></category>
		<category><![CDATA[omeka]]></category>
		<category><![CDATA[open source]]></category>

		<guid isPermaLink="false">http://jeffersonsnewspaper.org/?p=814</guid>
		<description><![CDATA[Following on my previous entry on adding an image Lightbox to Omeka, today I&#8217;ll run through the steps it takes to get a featured image gallery running on your Omeka homepage. I searched for awhile to find a gallery plugin that a.) looks good, b.) works well and c.) is not too complicated for me to figure out. Fitting the bill nicely, I found GalleryView, a fairly lightweight jQuery plugin with lots of options for...]]></description>
			<content:encoded><![CDATA[<p><img src="http://jeffersonsnewspaper.org/wp-content/uploads/2010/07/screen-capture-1.png" alt="" title="GalleryView Demo Image (via SpaceForAName)" width="817" height="430" class="aligncenter size-full wp-image-849" /></p>
<p>Following on my previous entry on <a title="Adding an Image Lightbox to Omeka" href="http://jeffersonsnewspaper.org/2009/adding-an-image-lightbox-in-omeka/">adding an image Lightbox to Omeka</a>, today I&#8217;ll run through the steps it takes to get a featured image gallery running on your Omeka homepage. I searched for awhile to find a gallery plugin that a.) looks good, b.) works well and c.) is not too complicated for me to figure out.  Fitting the bill nicely, I found <a title="GalleryView @ SpaceForAName" href="http://spaceforaname.com/galleryview">GalleryView</a>, a fairly lightweight jQuery plugin with lots of options for your tweaking enjoyment.  It&#8217;s a bit more challenging to implement than Lightbox and requires a fair amount of CSS knowledge to prettify, but this should help you get started.</p>
<p><span id="more-814"></span></p>
<p><strong>Step One: Download and Install GalleryView (and edit the GalleryView CSS)</strong></p>
<p><a title="GalleryView @ SpaceForAName" href="http://spaceforaname.com/galleryview">Download the GalleryView package</a> and place it in your theme&#8217;s /common/ directory.  Be sure that you have placed the whole shebang directly inside the /common/ directory and renamed the outer folder galleryview (if you use the default galleryview-2.1.1 name, you&#8217;ll need to adjust the scripts below to match).  Go into your theme to common/galleryview/galleryview.css and edit the first id, changing it from #photos to #featured-gallery (or something else if you prefer, see below for details).</p>
<p><strong>Step Two: Edit your Header (Scripts and Configurations)</strong></p>
<p>The code below will work as is if you are using the popular Berlin theme, but if not simply replace the word berlin below with the name of your Omeka theme.  Be sure the paths below match with where you actually placed your files in the previous step. </p>
<p><em>*** To save hours of confusion, watch out for typos and try using your browser&#8217;s &#8220;view source&#8221; feature to ensure that your links are reaching their destination.</em></p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&lt;link rel=&quot;stylesheet&quot; href=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> WEB_ROOT<span style="color: #339933;">;</span><span style="color: #000000; font-weight: bold;">?&gt;</span>/themes/berlin/common/galleryview/galleryview.css&quot; type=&quot;text/css&quot; media=&quot;screen&quot; /&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;http://code.jquery.com/jquery-1.4.2.min.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> WEB_ROOT<span style="color: #339933;">;</span><span style="color: #000000; font-weight: bold;">?&gt;</span>/themes/berlin/common/galleryview/jquery.galleryview-2.1.1-pack.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> WEB_ROOT<span style="color: #339933;">;</span><span style="color: #000000; font-weight: bold;">?&gt;</span>/themes/berlin/common/galleryview/jquery.timers-1.2.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> WEB_ROOT<span style="color: #339933;">;</span><span style="color: #000000; font-weight: bold;">?&gt;</span>/themes/berlin/common/galleryview/jquery.easing.1.3.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
		jQuery.noConflict();  
		jQuery(document).ready(function(){
		jQuery('#featured-gallery').galleryView({
			panel_width: 425,
			panel_height:430,
			filmstrip_position:'bottom',
			show_captions: true,
			pause_on_hover:true,
			transition_interval:5000,
			nav_theme:'light'
		});
	});
&lt;/script&gt;</pre></div></div>

<p>That final, multi-line script above initializes GalleryView and contains your configurations.  You can change them however you like according to the <a href="http://spaceforaname.com/galleryview">GalleryView documentation</a>, but here I&#8217;m setting the dimensions, timing, theme, etc.  There are a couple other things worth highlighting here if you are not familiar with JavaScript.  First of all, the string containing #featured-gallery is setting up the gallery to run automatically on images displayed in the html div with the id of &#8220;featured-gallery&#8221; &#8211; you can change this to whatever you like, but remember that it needs to match the outer div on your index page in the next step. Also worth noting, the script generally runs on a generic placeholder function called $, but in order to get around the conflict with the Prototype library (which also uses $ as a generic placeholder), I&#8217;ve included the jQuery.noConflict() line and replaced $ with jQuery.</p>
<p><strong>Step Three: Edit your Index Page (Looping Items and Calling GalleryView)</strong></p>
<p>The code below uses a custom loop to retrieve the images.  As noted, the outer div uses the id &#8220;featured-gallery&#8221;, as well as a required class, &#8220;galleryview&#8221; &#8212; #featured-gallery <em>is the only</em> id or class that you can change below!</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">	<span style="color: #339933;">&lt;</span>h2<span style="color: #339933;">&gt;</span>Featured Items<span style="color: #339933;">&lt;/</span>h2<span style="color: #339933;">&gt;</span>
	<span style="color: #339933;">&lt;</span>div id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;featured-gallery&quot;</span> <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;galleryview&quot;</span><span style="color: #339933;">&gt;</span>
	<span style="color: #339933;">&lt;</span>ul id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;gallery&quot;</span><span style="color: #339933;">&gt;</span>
		<span style="color: #339933;">&lt;</span> ?php 
		<span style="color: #666666; font-style: italic;">//this loops the 5 most recent featured items</span>
		<span style="color: #000088;">$items</span> <span style="color: #339933;">=</span> get_items<span style="color: #009900;">&#40;</span><span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'featured'</span><span style="color: #339933;">=&gt;</span>true<span style="color: #339933;">,</span> <span style="color: #0000ff;">'recent'</span><span style="color: #339933;">=&gt;</span>true<span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">5</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		set_items_for_loop<span style="color: #009900;">&#40;</span><span style="color: #000088;">$items</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #b1b100;">while</span><span style="color: #009900;">&#40;</span>loop_items<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">:</span>
		<span style="color: #000000; font-weight: bold;">?&gt;</span>
			<span style="color: #339933;">&lt;</span> ?php <span style="color: #000088;">$index</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
			<span style="color: #339933;">&lt;</span> ?php <span style="color: #b1b100;">while</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$file</span> <span style="color: #339933;">=</span> loop_files_for_item<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">:</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
			    <span style="color: #339933;">&lt;</span> ?php <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$file</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">hasThumbnail</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">:</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
			    <span style="color: #339933;">&lt;!--</span> this makes sure the loop grabs only the first image <span style="color: #b1b100;">for</span> the item <span style="color: #339933;">--&gt;</span>
			        <span style="color: #339933;">&lt;</span> ?php <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$index</span> <span style="color: #339933;">==</span> <span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">:</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
		    	       <span style="color: #339933;">&lt;</span> ?php <span style="color: #b1b100;">echo</span> <span style="color: #666666; font-style: italic;">/*Image URL*/</span><span style="color: #0000ff;">'&lt;li&gt;&lt;img src=&quot;'</span><span style="color: #339933;">.</span>item_file<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'square thumbnail uri'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&quot;/&gt;'</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
		    	    <span style="color: #339933;">&lt;</span> ?php <span style="color: #b1b100;">endif</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
			    <span style="color: #339933;">&lt;</span> ?php <span style="color: #b1b100;">endif</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
			<span style="color: #339933;">&lt;</span> ?php <span style="color: #b1b100;">endwhile</span><span style="color: #339933;">;</span><span style="color: #000000; font-weight: bold;">?&gt;</span>
			<span style="color: #339933;">&lt;</span> ?php
			<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;div class=&quot;panel-overlay&quot;&gt;'</span><span style="color: #339933;">;</span>
			<span style="color: #b1b100;">echo</span> <span style="color: #666666; font-style: italic;">/*Item Title*/</span><span style="color: #0000ff;">'&lt;h3&gt;'</span><span style="color: #339933;">.</span>item<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Dublin Core'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'Title'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&lt;/h3&gt;'</span><span style="color: #339933;">;</span>
			<span style="color: #b1b100;">echo</span> <span style="color: #666666; font-style: italic;">/*Item Description Excerpt*/</span><span style="color: #0000ff;">'&lt;p&gt;'</span><span style="color: #339933;">.</span>item<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Dublin Core'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'Description'</span><span style="color: #339933;">,</span><span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'snippet'</span><span style="color: #339933;">=&gt;</span><span style="color: #cc66cc;">175</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			<span style="color: #b1b100;">echo</span> <span style="color: #666666; font-style: italic;">/*Link to Item*/</span> link_to_item<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">' ...more '</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&lt;/p&gt;&lt;/ul&gt;&lt;/div&gt;'</span><span style="color: #339933;">;</span>
			<span style="color: #000000; font-weight: bold;">?&gt;</span>
			<span style="color: #339933;">&lt;</span> ?php <span style="color: #b1b100;">endwhile</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>I&#8217;ve added some comments inline with the code above to describe what it&#8217;s doing, so if they make sense to you, you can probably figure out any changes you might need (for example, looping more or fewer images meeting whatever Omeka-friendly criteria you like).  </p>
<p><em>*** I&#8217;m using square thumbnails in my loop because they&#8217;re easy, but you may need to adjust the max thumbnail size in your Omeka settings to avoid blurry images.</em></p>
<p><strong>Step Four: Season to Taste</strong></p>
<p>Though the example above works pretty nicely &#8220;out of the box&#8221; in a two column homepage theme, the <a href="http://spaceforaname.com/galleryview">GalleryView documentation</a> contains a list of configuration options, so you will probably want to fool around with those, as well as your CSS, to integrate GalleryView properly into your theme&#8217;s overall aesthetic.  You might also want to <a href="http://omeka.org/codex/Create_a_Custom_Loop_of_Items">customize the loop in Omeka</a> (personally, I&#8217;m not a huge fan of the one used above, but haven&#8217;t figured out a better one just yet).</p>
<p>Hope this has helped a few folks out there who, like me, are working near the edges of their skill set.  As always, feel free to share your comments, questions, suggestions, critiques, etc.  I&#8217;ll try to keep this updated as needed.</p>
<p>By the way, I&#8217;m planning to release a new Omeka theme that incorporates both Lightbox and GalleryView, as well as some other fun stuff, so stay tuned.</p>
]]></content:encoded>
			<wfw:commentRss>http://jeffersonsnewspaper.org/2010/adding-a-featured-image-gallery-to-omeka-using-galleryview/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Adding an Image Lightbox in Omeka</title>
		<link>http://jeffersonsnewspaper.org/2009/adding-an-image-lightbox-in-omeka/</link>
		<comments>http://jeffersonsnewspaper.org/2009/adding-an-image-lightbox-in-omeka/#comments</comments>
		<pubDate>Thu, 19 Nov 2009 15:03:21 +0000</pubDate>
		<dc:creator>E. Bell</dc:creator>
				<category><![CDATA[Reference]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[LightBox]]></category>
		<category><![CDATA[omeka]]></category>
		<category><![CDATA[open source]]></category>

		<guid isPermaLink="false">http://jeffersonsnewspaper.org/?p=591</guid>
		<description><![CDATA[Maybe it&#8217;s just me, but I had a heckuva time trying to figure out how to implement Lightbox 2 in Omeka. After piecing together info and code from here and there, then adding my own little improvements, I&#8217;ve constructed a simple little 4-step guide to document the process and, hopefully, help make this process a little less vexing for others out there who aren&#8217;t PHP and Java Script pros. Step One: Get the Lightbox Package...]]></description>
			<content:encoded><![CDATA[<p><img src="http://jeffersonsnewspaper.org/wp-content/uploads/2009/11/Untitled-11.jpg" alt="LightBox-example_OCW150" title="LightBox-example_OCW150" width="630" height="auto" class="aligncenter size-full wp-image-609" />Maybe it&#8217;s just me, but I had a heckuva time trying to figure out how to implement <a title="LightBox2 by Lokesh Dhakar" href="http://www.huddletogether.com/projects/lightbox2/">Lightbox 2</a> in <a title="Omeka" href="http://omeka.org/">Omeka</a>.  After piecing together info and code from here and there, then adding my own little improvements, I&#8217;ve constructed a simple little 4-step guide to document the process and, hopefully, help make this process a little less vexing for others out there who aren&#8217;t PHP and Java Script pros.</p>
<p><span id="more-591"></span></p>
<p><strong>Step One: Get the Lightbox Package</strong></p>
<p>The first step is to get the latest LightBox 2 package <a title="LightBox2 by Lokesh Dhakar" href="http://www.huddletogether.com/projects/lightbox2/">here</a>, where you will find a quick explanation of how it works and how to get started.</p>
<p><strong>Step Two: Modify and Upload the LightBox Package</strong></p>
<p>Once you have the package, make sure it&#8217;s in a folder called &#8220;lightbox&#8221; and upload it to your Omeka theme directory inside the &#8220;common&#8221; directory where your header and footer files are located.  Take the image files and copy them to your theme&#8217;s &#8220;images&#8221; directory.</p>
<p>Inside common/lightbox/js directory, find the file called &#8220;lightbox.js&#8221; and set your configurations.  This is where you set your lightbox behaviors (overlayOpacity, animate, resizeSpeed, borderSize, etc.) and also where you tell LightBox how to find the images and labels to display Close and Loading.  When setting the former, you can fiddle with the defaults to get the style you need, it&#8217;s pretty easy to understand.  For the latter (image locations), you can use either a relative or a direct URL.  If a relative location (e.g. &#8216;../images/loading.gif&#8217;) does not work for you, try using the direct URL (e.g. &#8216;http://www.yoursite.com/omeka/themes/themename/images/loading.gif&#8217;).  My impression is that Omeka requires the direct URL for some reason.  You could probably leave the images in the &#8220;lightbox&#8221; directory and point to them there as well.</p>
<p><strong>Step Three: Modify your Omeka Theme Header</strong></p>
<p>Add the script to your theme header (be sure to modify with your actual theme name):</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&lt;!-- Start Lightbox includes --&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> WEB_ROOT<span style="color: #339933;">;</span><span style="color: #000000; font-weight: bold;">?&gt;</span>/themes/themename/common/lightbox/js/prototype.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> WEB_ROOT<span style="color: #339933;">;</span><span style="color: #000000; font-weight: bold;">?&gt;</span>/themes/themename/common/lightbox/js/scriptaculous.js?load=effects,builder&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> WEB_ROOT<span style="color: #339933;">;</span><span style="color: #000000; font-weight: bold;">?&gt;</span>/themes/themename/common/lightbox/js/lightbox.js&quot;&gt;&lt;/script&gt;
&lt;!-- End Lightbox includes --&gt;</pre></div></div>

<p>Pretty basic.</p>
<p>Also, you&#8217;ll want to either copy the LightBox CSS styles into your theme&#8217;s stylesheet or move it to the theme styles directory and link to it in your header.  Either way, be sure to double check that your images are properly linked.  I find that having the LightBox styles included in a single stylesheet is preferable, but if you want, you can use something like this after moving lightbox.css to your theme directory:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>link rel<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;stylesheet&quot;</span> href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;css/lightbox.css&quot;</span> type<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;text/css&quot;</span> media<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;screen&quot;</span> <span style="color: #339933;">/&gt;</span></pre></div></div>

<p><strong>Step Four: Modify Your Omeka Items-Show Page</strong></p>
<p>This is where I got hung up.  The site I was working on has multiple file types &#8212; not just images, but also audio and video.  I was lucky enough to find a starting point on the <a title="Lightbox | Omeka Dev Google Group" href="http://groups.google.com/group/omeka-dev/browse_thread/thread/db7e65096a08b26f">Omeka Dev Google Group</a> as well as on the <a title="Lightbox | Omeka Forums" href="http://omeka.org/forums/topic/what-handle-to-access-mediaphp-for-a-new-plugin">Omeka Forums</a>, but the code was written for item pages with a single image file.  Since I&#8217;m not great with arrays, it took me a while to come up with the imperfect code below.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">	<span style="color: #339933;">&lt;!--</span> The following returns all of the files associated with an item<span style="color: #339933;">.</span> <span style="color: #339933;">--&gt;</span>
	<span style="color: #339933;">&lt;</span>div id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;itemfiles&quot;</span> <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;element&quot;</span><span style="color: #339933;">&gt;</span>
	    <span style="color: #339933;">&lt;</span>h3<span style="color: #339933;">&gt;</span>Files<span style="color: #339933;">&lt;/</span>h3<span style="color: #339933;">&gt;</span>
		<span style="color: #339933;">&lt;</span>div <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;element-text&quot;</span><span style="color: #339933;">&gt;</span>
		    <span style="color: #339933;">&lt;</span> ?php 
		    <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span>item_has_thumbnail<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> 
					<span style="color: #009900;">&#123;</span>
					<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;p&gt;&lt;em&gt;Click the Image for Full Size&lt;/em&gt;'</span><span style="color: #339933;">;</span>
					<span style="color: #b1b100;">echo</span> display_files_for_item<span style="color: #009900;">&#40;</span><span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'linkAttributes'</span><span style="color: #339933;">=&gt;</span>array<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'rel'</span><span style="color: #339933;">=&gt;</span><span style="color: #0000ff;">'lightbox[group]'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
										<span style="color: #009900;">&#125;</span>
			<span style="color: #b1b100;">else</span>
				<span style="color: #009900;">&#123;</span>
				<span style="color: #b1b100;">echo</span> display_files_for_item<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
				<span style="color: #009900;">&#125;</span>
			<span style="color: #000000; font-weight: bold;">?&gt;</span>
&nbsp;
		<span style="color: #339933;">&lt;/</span>div<span style="color: #339933;">&gt;</span>
&nbsp;
	<span style="color: #339933;">&lt;/</span>div<span style="color: #339933;">&gt;</span></pre></div></div>

<p>This script will test if the item has a thumbnail (i.e. &#8220;is it an image?&#8221;).  If it does, it will display the files as square thumbnails and give them &#8216;rel=&#8221;lightbox[group]&#8220;&#8216; &#8211; clicking on images with the &#8220;lightbox&#8221; relation in the URL will prompt the light box; if there are two or more images associated with the file, the &#8216;[group]&#8216; part will kick in to add the Next and Previous buttons.  If the item file is not an image, the script calls the generic Omeka function display_files_for_item(), which will automatically call the media player (for audio and video) if needed.</p>
<p>A pretty easy process when you have it all right in front of you.  Hope this will be helpful to someone out there.</p>
<p>NOTE: I&#8217;ll continue to update this post with any improvements.  If <em>you</em> have a problem, fix, or improvement to share, please add it in the comments or catch me on Twitter (<a href="http://twitter.com/ebellempire">@ebellempire</a>).  I&#8217;ve also cross-posted this tutorial in the documentation wiki at <a href="http://omeka.org/codex/Adding_LightBox_to_Omeka">Omeka.org</a>, so feel free to contribute there as well.</p>
]]></content:encoded>
			<wfw:commentRss>http://jeffersonsnewspaper.org/2009/adding-an-image-lightbox-in-omeka/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Creating a Blog Topics Directory in WPMU 2.8 + BuddyPress 1.1</title>
		<link>http://jeffersonsnewspaper.org/2009/creating-a-blog-topics-directory-in-wpmu-2-8-buddypress-1-1/</link>
		<comments>http://jeffersonsnewspaper.org/2009/creating-a-blog-topics-directory-in-wpmu-2-8-buddypress-1-1/#comments</comments>
		<pubDate>Wed, 07 Oct 2009 03:28:12 +0000</pubDate>
		<dc:creator>E. Bell</dc:creator>
				<category><![CDATA[Reference]]></category>
		<category><![CDATA[buddypress]]></category>
		<category><![CDATA[DIY]]></category>
		<category><![CDATA[information architecture]]></category>
		<category><![CDATA[plug-ins]]></category>
		<category><![CDATA[themes]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wpmu]]></category>

		<guid isPermaLink="false">http://jeffersonsnewspaper.org/?p=557</guid>
		<description><![CDATA[I recently set up an installation of WordPress MultiUser (WPmu) + BuddyPress for the History Department where I work. We have a number of different user groups on the site, including Courses, Workshops, and Projects. Eventually we will also have Personal sites (for students, staff, and faculty in the dept.) and perhaps some small organizations and campus groups. Right now the site is small, so it would be reasonable to manually create and maintain a...]]></description>
			<content:encoded><![CDATA[<p><img src="http://jeffersonsnewspaper.org/wp-content/uploads/2009/10/buddyPress-alt.jpg" alt="buddyPress-alt" title="buddyPress" width="630" height="auto" class="aligncenter size-full wp-image-572" /></p>
<p>I recently set up an installation of <a href="http://mu.wordpress.org/">WordPress MultiUser</a> (WPmu) + <a href="http://buddypress.org/">BuddyPress</a> for the History Department where I work.  We have a number of different user groups on the site, including Courses, Workshops, and Projects.  Eventually we will also have Personal sites (for students, staff, and faculty in the dept.) and perhaps some small organizations and campus groups.  Right now the site is small, so it would be reasonable to manually create and maintain a topical directory.  As the site grows, however, this could become a burden to say the least.  Nobody likes to do that kind of crap &#8211; not even graduate assistants.  So with the help of an outdated plug-in and a couple of tiny hacks, I easily created a directory of Blogs by Topic so I never need to hand code the directory.  Read on to find out how.</p>
<p><span id="more-557"></span></p>
<p>To begin with, I&#8217;m using Deanna Schneider&#8217;s very handy <a title="BlogTopicsForWPMU @ WordPress.org" href="http://wordpress.org/extend/plugins/blog-topics/">Blog Topics For WPMU</a>. Basically, Blog Topics creates a field in the relevant Settings, Registration and BuddyPress areas in which your users choose from a drop-down of admin-defined topics.  They cannot create new topics, they must use the ones you set, so keep that in mind.  The Site Admin can manually set the Topic for any blog at any time; this might be necessary if you already have a handful of blogs on your site (or you could demand that your users do it themselves because this is all about being lazy).  Some users might misfile their site in the wrong category, but you can always go in and edit any blog&#8217;s Topic; they probably won&#8217;t even notice.</p>
<p>You might be wondering why I would write a tutorial for installing a plug-in.  Well, I&#8217;m not sure if the plug-in code has some deprecated elements or if it just doesn&#8217;t play nice with the new BuddyPress theme structure, but it&#8217;s actually a bit more complicated than just installing the plug-in. For whatever reason, the documentation for this plug-in is pretty weak and some of it just doesn&#8217;t seem to work without some tweaks.  That&#8217;s where I come in to sum up my hours of frustration with what now seems like an obvious process.</p>
<p>Here&#8217;s the drill&#8230;</p>
<ol>
<li>Install the plug-in in your wp-content/plugins folder and activate it on your parent site.  The plug-in comes with a nice little widget for your MU child sites, but it won&#8217;t help you here so consider it optional.</li>
<li>Inside the wp-content/plugins/blog-topics directory, you will find the file cets_blog_topics_page.php (a WordPress page template).  Copy this file to the root of your site&#8217;s parent theme file. If you are using BuddyPress 1.1, that means themes/bp-sn-parent.</li>
<li>Now, take that file and mess it all up according to the instructions below.  Unfortunately, in the plug-in&#8217;s current state (v. 0.3.2), the default file just doesn&#8217;t work, but after digging around in the code, I found some functions that work quite nicely and can be easily integrated into your BuddyPress directories.  Again, you will need to save this to the root of your theme.</li>
<li>Create a page called Blog Topics Directory (or whatever) and apply the Blog Topics Page template you just created.
</li>
</ol>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span> ?php
<span style="color: #666666; font-style: italic;">/*
Template Name: Blog Topics Page
*/</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span>
<span style="color: #339933;">&lt;</span> ?php get_header<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&nbsp;
	<span style="color: #339933;">&lt;</span>div id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;content&quot;</span> <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;narrowcolumn&quot;</span><span style="color: #339933;">&gt;</span>
&nbsp;
		<span style="color: #339933;">&lt;</span> ?php do_action<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'bp_before_directory_blogs_content'</span> <span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&nbsp;
		<span style="color: #339933;">&lt;</span>div <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;page&quot;</span> id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;blog-page&quot;</span><span style="color: #339933;">&gt;</span>
&nbsp;
			<span style="color: #339933;">&lt;</span> ?php <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span>have_posts<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> <span style="color: #b1b100;">while</span> <span style="color: #009900;">&#40;</span>have_posts<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> the_post<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&nbsp;
				<span style="color: #339933;">&lt;</span>h2 <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;pagetitle&quot;</span><span style="color: #339933;">&gt;&lt;</span> ?php the_title<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span><span style="color: #339933;">&lt;/</span>h2<span style="color: #339933;">&gt;</span>
&nbsp;
                                <span style="color: #339933;">&lt;!--</span>using anchors <span style="color: #b1b100;">for</span> long lists<span style="color: #339933;">,</span> or you could <span style="color: #000000; font-weight: bold;">use</span> something fancier to browse topics<span style="color: #339933;">--&gt;</span>
&nbsp;
					<span style="color: #339933;">&lt;</span>ul id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;topic-list&quot;</span><span style="color: #339933;">&gt;</span>
					<span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#topic1&quot;</span><span style="color: #339933;">&gt;</span>Topic <span style="color: #cc66cc;">1</span><span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
					<span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#topic2&quot;</span><span style="color: #339933;">&gt;</span>Topic <span style="color: #cc66cc;">2</span><span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>	
					<span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#topic3&quot;</span><span style="color: #339933;">&gt;</span>Topic <span style="color: #cc66cc;">3</span><span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>	
					<span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#topic4&quot;</span><span style="color: #339933;">&gt;</span>Topic <span style="color: #cc66cc;">4</span><span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>	
					<span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#topic5&quot;</span><span style="color: #339933;">&gt;</span>Topic <span style="color: #cc66cc;">5</span><span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>	
					<span style="color: #339933;">&lt;/</span>ul<span style="color: #339933;">&gt;</span>					
&nbsp;
<span style="color: #339933;">&lt;!--</span>add the numeric Topic ID according to the models below<span style="color: #339933;">--&gt;</span>	
&nbsp;
<span style="color: #339933;">&lt;!--</span>topic1<span style="color: #339933;">--&gt;</span>
<span style="color: #339933;">&lt;</span>a name<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;topic1&quot;</span><span style="color: #339933;">&gt;&lt;/</span>a<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;</span>h2 <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;pagetitle&quot;</span><span style="color: #339933;">&gt;&lt;</span> ?php <span style="color: #b1b100;">echo</span> cets_get_topic_name<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'1'</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span> Blogs<span style="color: #339933;">&lt;/</span>h2<span style="color: #339933;">&gt;</span>  
<span style="color: #339933;">&lt;</span> ?php <span style="color: #b1b100;">echo</span> cets_get_blogs_from_topic_id_html<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'1'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&nbsp;
<span style="color: #339933;">&lt;!--</span>topic2<span style="color: #339933;">--&gt;</span>
<span style="color: #339933;">&lt;</span>a name<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;topic2&quot;</span><span style="color: #339933;">&gt;&lt;/</span>a<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;</span>h2 <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;pagetitle&quot;</span><span style="color: #339933;">&gt;&lt;</span> ?php <span style="color: #b1b100;">echo</span> cets_get_topic_name<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'2'</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span> Blogs<span style="color: #339933;">&lt;/</span>h2<span style="color: #339933;">&gt;</span>  
<span style="color: #339933;">&lt;</span> ?php <span style="color: #b1b100;">echo</span> cets_get_blogs_from_topic_id_html<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'2'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&nbsp;
<span style="color: #339933;">&lt;!--</span>topic3<span style="color: #339933;">--&gt;</span>
<span style="color: #339933;">&lt;</span>a name<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;topic3&quot;</span><span style="color: #339933;">&gt;&lt;/</span>a<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;</span>h2 <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;pagetitle&quot;</span><span style="color: #339933;">&gt;&lt;</span> ?php <span style="color: #b1b100;">echo</span> cets_get_topic_name<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'3'</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span> Blogs<span style="color: #339933;">&lt;/</span>h2<span style="color: #339933;">&gt;</span>  
<span style="color: #339933;">&lt;</span> ?php <span style="color: #b1b100;">echo</span> cets_get_blogs_from_topic_id_html<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'3'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&nbsp;
<span style="color: #339933;">&lt;!--</span>topic4<span style="color: #339933;">--&gt;</span>
<span style="color: #339933;">&lt;</span>a name<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;topic4&quot;</span><span style="color: #339933;">&gt;&lt;/</span>a<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;</span>h2 <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;pagetitle&quot;</span><span style="color: #339933;">&gt;&lt;</span> ?php <span style="color: #b1b100;">echo</span> cets_get_topic_name<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'4'</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span> Blogs<span style="color: #339933;">&lt;/</span>h2<span style="color: #339933;">&gt;</span>  
<span style="color: #339933;">&lt;</span> ?php <span style="color: #b1b100;">echo</span> cets_get_blogs_from_topic_id_html<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'4'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&nbsp;
<span style="color: #339933;">&lt;!--</span>topic5<span style="color: #339933;">--&gt;</span>
<span style="color: #339933;">&lt;</span>a name<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;topic5&quot;</span><span style="color: #339933;">&gt;&lt;/</span>a<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;</span>h2 <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;pagetitle&quot;</span><span style="color: #339933;">&gt;&lt;</span> ?php <span style="color: #b1b100;">echo</span> cets_get_topic_name<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'5'</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span> Blogs<span style="color: #339933;">&lt;/</span>h2<span style="color: #339933;">&gt;</span>  
<span style="color: #339933;">&lt;</span> ?php <span style="color: #b1b100;">echo</span> cets_get_blogs_from_topic_id_html<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'5'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&nbsp;
&nbsp;
&nbsp;
&nbsp;
			<span style="color: #339933;">&lt;</span> ?php <span style="color: #b1b100;">endwhile</span><span style="color: #339933;">;</span> <span style="color: #b1b100;">endif</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&nbsp;
		<span style="color: #339933;">&lt;/</span>div<span style="color: #339933;">&gt;</span>
&nbsp;
		<span style="color: #339933;">&lt;</span> ?php do_action<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'bp_after_directory_blogs_content'</span> <span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&nbsp;
	<span style="color: #339933;">&lt;/</span>div<span style="color: #339933;">&gt;</span>
&nbsp;
<span style="color: #339933;">&lt;</span> ?php get_sidebar<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&nbsp;
<span style="color: #339933;">&lt;</span> ?php get_footer<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>You could probably find any number of ways to integrate this into your theme&#8217;s Blog Directory.  Although I might eventually change it, right now, I&#8217;ve just added a link to the Blog Directory sidebar which users can&#8230; use&#8230; to Browse Blogs by Topic.  If it helps, <a title="Cleveland History Blogs" href="http://clevelandhistory.org/">here&#8217;s a link to the site where this code is being used</a>.  Again, it needs some tweaking but this should get you started.  Hope this quick fix has helped.  </p>
<p>If you&#8217;re wondering why this post has a giant image of <a href="http://en.wikipedia.org/wiki/Brak_%28character%29">Brak</a> (among other notable &#8220;buddies&#8221;) at the top, or if you just need a break from all this BuddyPress nonsense, you might need to listen to this&#8230;<br />
<!-- ProPlayer by Isa Goksu --><div name="mediaspace" id="mediaspace"><div class="pro-player-container" width="630px" height="46px"><div id="pro-player-557pp-single-4f30160f8ff98"></div></div></div><script type="text/javascript" charset="utf-8">var flashvars = {width: "630",height: "46",autostart: "false",repeat: "false",backcolor: "111111",frontcolor: "cccccc",lightcolor: "66cc00",stretching: "fill",enablejs: "true",mute: "false",skin: "http://jeffersonsnewspaper.org/wp-content/plugins/proplayer/players/skins/default.swf",plugins: "",javascriptid: "557pp-single-4f30160f8ff98",image: "",file: 'http://jeffersonsnewspaper.org/wp-content/plugins/proplayer/playlist-controller.php?pp_playlist_id=557pp-single-4f30160f8ff98&sid=1328551440'};var params = {wmode: "transparent",allowfullscreen: "true",allowscriptaccess: "always",allownetworking: "all"};var attributes = {id: "obj-pro-player-557pp-single-4f30160f8ff98",name: "obj-pro-player-557pp-single-4f30160f8ff98"};swfobject.embedSWF("http://jeffersonsnewspaper.org/wp-content/plugins/proplayer/players/player.swf", "pro-player-557pp-single-4f30160f8ff98", "630", "46", "9.0.0", false, flashvars, params, attributes);</script></p>
<p align="center"><a href="http://brakbuddy.ytmnd.com/">Brak sings Yeah Buddy (via brakbuddy.ytmnd.com)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://jeffersonsnewspaper.org/2009/creating-a-blog-topics-directory-in-wpmu-2-8-buddypress-1-1/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
<enclosure url="http://content.ytmnd.com/content/9/3/f/93fb525eff749c9e9f82e14ce629bf12.mp3" length="700465" type="audio/mpeg" />
<enclosure url="http://i.cdn.turner.com/adultswim/shows/downloads/shows/brak/mp3/brak_6.mp3" length="192504" type="audio/mpeg" />
		</item>
		<item>
		<title>Building a WordPress Static Homepage with Dynamic Elements</title>
		<link>http://jeffersonsnewspaper.org/2009/building-a-wordpress-static-homepage-with-dynamic-elements/</link>
		<comments>http://jeffersonsnewspaper.org/2009/building-a-wordpress-static-homepage-with-dynamic-elements/#comments</comments>
		<pubDate>Tue, 22 Sep 2009 18:07:30 +0000</pubDate>
		<dc:creator>E. Bell</dc:creator>
				<category><![CDATA[Reference]]></category>
		<category><![CDATA[category feeds]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[dummyproofing]]></category>
		<category><![CDATA[excerpt]]></category>
		<category><![CDATA[external feeds]]></category>
		<category><![CDATA[feeds]]></category>
		<category><![CDATA[omeka]]></category>
		<category><![CDATA[rss]]></category>
		<category><![CDATA[static homepages]]></category>
		<category><![CDATA[theme functions]]></category>
		<category><![CDATA[themes]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://jeffersonsnewspaper.org/?p=421</guid>
		<description><![CDATA[One of the nice features of WordPress is the ability to create static homepages. While most blogs use the standard configuration, where users scroll vertically from the most recent to older blog posts, it often makes sense to use a static homepage instead &#8212; especially if you are looking to create a more professional looking site, or are using WordPress as a Content Management System. I recently tackled a project where we needed to create...]]></description>
			<content:encoded><![CDATA[<p><img src="http://jeffersonsnewspaper.org/wp-content/uploads/2009/09/Manhattan_Bridge_Construction_19091.jpg" width="620px" height="auto"/>One of the nice features of WordPress is the ability to create <a title="Static Homepages @ WP" href="http://codex.wordpress.org/Creating_a_Static_Front_Page">static homepages</a>.  While most blogs use the standard configuration, where users scroll vertically from the most recent to older blog posts, it often makes sense to use a static homepage instead &#8212; especially if you are looking to create a more professional looking site, or are using <a title="WP as CMS @ DevLounge.net" href="http://www.devlounge.net/publishing/things-to-consider-when-using-wordpress-as-a-cms">WordPress as a Content Management System</a>.  I recently tackled a project where we needed to create a static homepage with the following features</p>
<ol>
<li>The homepage needed to look &#8220;homepagey&#8221; (i.e. not &#8220;bloggy&#8221;)</li>
<li>Client needed room for a short introductory text, which could be edited/updated on the fly without disrupting the homepage layout</li>
<li>The homepage needed to highlight the many features on the site, so that users could quickly scan the page, see what the site had to offer, and quickly find the latest update in each area.</li>
</ol>
<p>This quick tutorial will share some code for reproducing something that meets all or some of those criteria.  You don&#8217;t need to know much code to complete this tutorial, but a little helps.  Once you create and implement your homepage template, you will need to use CSS to add styles and adjust the layout.</p>
<p><span id="more-421"></span></p>
<p><strong>The Basics of Creating a Homepage Template</strong></p>
<p>This is pretty well-documented elsewhere, but here&#8217;s what you need to know on the most basic level.  If you are using a prefab theme, find that theme&#8217;s page.php file.  Now take that file and make a copy called homepage.php (or really, whatever you like).  Next, add the five lines below to the very top of the page (before the header and sidebar calls):</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span> ?php
<span style="color: #666666; font-style: italic;">/*
Template Name: Home Page
*/</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>Now, when you edit or create the page you want to use as Home, you can choose the Home Page template and set it as the static homepage for your site in Settings >> Reading.  But this won&#8217;t get you far.  As is, this template just replicates the behavior of any page on your site.  That&#8217;s not very exciting.  Instead, let&#8217;s try adding some dynamic content to the template.</p>
<p><strong>Note on custom theme_excerpt() function used below</strong></p>
<p>Before you get all crazy and just copy-paste from the homepage code below, note that I am using a custom function to generate post excerpts. To use that function you must first create a file called functions.php and add the following code:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span> ?php
<span style="color: #000000; font-weight: bold;">function</span> theme_excerpt<span style="color: #009900;">&#40;</span><span style="color: #000088;">$num</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">global</span> <span style="color: #000088;">$more</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$more</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">1</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$link</span> <span style="color: #339933;">=</span> get_permalink<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$limit</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$num</span><span style="color: #339933;">+</span><span style="color: #cc66cc;">1</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$excerpt</span> <span style="color: #339933;">=</span> <span style="color: #990000;">explode</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">' '</span><span style="color: #339933;">,</span> <span style="color: #990000;">strip_tags</span><span style="color: #009900;">&#40;</span>get_the_content<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$limit</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #990000;">array_pop</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$excerpt</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$excerpt</span> <span style="color: #339933;">=</span> <span style="color: #990000;">implode</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot; &quot;</span><span style="color: #339933;">,</span><span style="color: #000088;">$excerpt</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'...'</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$excerpt</span> <span style="color: #339933;">=</span> <span style="color: #990000;">preg_replace</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'`\[[^\]]*\]`'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">''</span><span style="color: #339933;">,</span><span style="color: #000088;">$excerpt</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;p&gt;'</span><span style="color: #339933;">.</span><span style="color: #000088;">$excerpt</span><span style="color: #339933;">.</span><span style="color: #0000ff;">''</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$more</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>This will get you a more flexible excerpt function than the default WordPress one, <code>the_excerpt()</code>.  I think I stole this from the <a href="http://bavotasan.com/downloads/feed-me-seymour-free-wordpress-theme/" title="FMS theme">Feed Me Seymour theme</a>. You can call the function with <code>theme_excerpt(n)</code> where <em>n</em> is the number of words in the excerpt.</p>
<p><em>I&#8217;m going to break this up into sections, so if you are copy-pasting, you will need to copy all the sections below or pick and choose carefully, otherwise you might end up with some unclosed tags.</em></p>
<p><strong>Preserving the Page text</strong><br />
Most of the text in a dynamic homepage is generated from feeds, posts, and database queries (i.e. not by adding it manually to the page called Home in your WordPress page list).  In some cases, your Home page could be totally blank when accessed from the default page editor.  However, you may want to give yourself the option of manually adding and updating text somewhere on your homepage.  In the example below, we keep the WordPress page text intact by calling <a href="http://codex.wordpress.org/The_Loop" title="The Loop @ WP">The Loop</a>.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span> ?php
<span style="color: #666666; font-style: italic;">/*
Template Name: Home Page
*/</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span>
<span style="color: #339933;">&lt;!--</span> get the <span style="color: #990000;">header</span> and sidebar<span style="color: #339933;">...</span> though sometimes you might want to leave the sidebar out of a Home template<span style="color: #339933;">.</span>  It<span style="color: #0000ff;">'s here just for the sake of illustration--&gt; 
&lt; ?php get_header(); ?&gt;
&lt; ?php get_sidebar(); ?&gt;
&nbsp;
&lt;div id=&quot;content&quot;&gt;
&nbsp;
&lt;!-- Homepage text from the page editor using '</span>The Loop<span style="color: #0000ff;">'--&gt;
         &lt; ?php if (have_posts()) : while (have_posts()) : the_post(); ?&gt;
		&lt;div class=&quot;post&quot; id=&quot;main-entry&quot;&gt;&lt;div id=&quot;in-border&quot;&gt;
&nbsp;
			&lt;div class=&quot;entry&quot;&gt;
				&lt; ?php the_content(); ?&gt;
			&lt;/div&gt;
				  &lt; ?php endwhile; endif; ?&gt;
		&lt;/div&gt;&lt;/div&gt;
&lt;/div&gt;</span></pre></div></div>

<p><strong>An Internal Category Feed</strong><br />
Below we have the latest one post from the &#8216;News&#8217; category.  You can repeat this with other categories as needed.  This is especially useful if you use the <a href="http://http://wordpress.org/extend/plugins/category-visibility-ipeat/" title="Category Visibility plug-in">Category Visibility plug-in</a> or some other means to hide/show certain category posts in certain areas of your site.  In a recent project, for example, we created additional page templates for displaying posts in certain categories (Calendar Events, Timeline Events, Lesson Plans), but excluded them from the blog loop.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&lt;!-- An internal feed.--&gt;
&lt;!-- The latest one post from the 'News' category --&gt;
&lt;!-- You can repeat this with other categories as needed.  --&gt;
&nbsp;
&nbsp;
&lt;li&gt;
&lt;h2&gt;News&lt;/h2&gt;
         &lt; ?php $my_query = new WP_Query('category_name=news&amp;showposts=1'); while ($my_query-&gt;have_posts()) : $my_query-&gt;the_post(); $do_not_duplicate = $post-&gt;ID; ?&gt;
&nbsp;
                &lt;!-- Link to the 'News' category --&gt;
    		&lt;div class=&quot;post&quot;&gt;
    		&lt;div id=&quot;link-contain&quot;&gt;
                &lt;p class=&quot;contread&quot;&gt;&lt;a href=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> get_bloginfo<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'url'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>/news&quot;&gt;All News &amp;raquo;&lt;/a&gt;&lt;/p&gt;  
                &lt;/div&gt;
&nbsp;
    		&lt;h3&gt;Latest News&lt;/h3&gt;
&nbsp;
                &lt;!-- The post title --&gt;
		&lt;h3&gt;&lt;a href=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> the_permalink<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot; rel=&quot;bookmark&quot; title=&quot;Permanent Link to &lt; ?php the_title(); ?&gt;&quot;&gt;&lt; ?php the_title(); ?&gt;&lt;/a&gt;&lt;/h3&gt;
			&lt;div class=&quot;entry&quot;&gt;
                &lt;!-- The post excerpt using custom function from theme/function.php --&gt;		
				&lt; ?php echo theme_excerpt(30); ?&gt; 
			&lt;/div&gt;
		&lt;/div&gt;
  &lt; ?php endwhile; ?&gt;
&lt;/li&gt;</pre></div></div>

<p><strong>An External Feed</strong><br />
This code uses the WordPress core functionality that brings feeds into your Dashboard.   I&#8217;m just pulling the title and link here, but you can do more.  This is especially useful if your site incorporates another platform besides WordPress.  In the example below, I use a feed from the Omeka platform (<a href="http://omeka.org">omeka.org</a>), which I had tucked into my root directory, masquerading as a native section of the site.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&lt;!-- An External Feed  --&gt;
&lt;!-- This is especially useful if your site incorporates another platform besides WordPress.--&gt;
&nbsp;
&lt;li&gt;
&lt;h2&gt;Collections &amp;amp; Exhibits &lt;/h2&gt;
    		&lt;div class=&quot;post&quot; id=&quot;omeka-feed&quot;&gt;
    		&lt;div id=&quot;link-contain&quot;&gt;&lt;p class=&quot;contread&quot;&gt;&lt;a href=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> get_bloginfo<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'url'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>/omeka&quot;&gt;View the Archive &amp;raquo;&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;
			&lt;div class=&quot;entry&quot;&gt;
             &lt;!-- This code uses the WordPress core functionality that brings feeds into your Dashboard--&gt;
             &lt;!-- I'm just pulling the title and link here, but you can do more--&gt;
			&lt; ?php  
			require_once (ABSPATH . WPINC . '/rss.php');  
			$rss = @fetch_rss('http://www.myurl.org/omeka/items/browse?output=rss2');  
			if ( isset($rss-&gt;items) &amp;&amp; 0 != count($rss-&gt;items) ) {  
			?&gt;  
			&lt;h3&gt;Latest Additions&lt;/h3&gt;
			&lt;ul&gt;  
			&lt; ?php  
			$rss-&gt;items = array_slice($rss-&gt;items, 0,7);  
			foreach ($rss-&gt;items as $item ) {  
 			?&gt;  
			&lt;li&gt; 
			&lt;a href=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> wp_filter_kses<span style="color: #009900;">&#40;</span><span style="color: #000088;">$item</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'link'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><span style="color: #000000; font-weight: bold;">?&gt;</span>&quot;&gt;
			&lt; ?php echo wp_specialchars($item['title']); ?&gt;  
			&lt;/a&gt;  
			&lt;/li&gt;  
			&lt; ?php } ?&gt;  
			&lt;/ul&gt;  
			&lt; ?php } ?&gt;  
			&lt;/div&gt;
&nbsp;
		&lt;/div&gt;
  &lt; ?php endwhile; ?&gt;
&lt;/li&gt;</pre></div></div>

<p><strong>A Special Plugin Feed (Simple:Press)</strong><br />
Lots of plugins generate their own feed.  Here we have an internal feed from the Simple:Press forum plugin (<a href="http://simplepressforum.com">simplepressforum.com</a>).  Such plug-ins generally use custom functions, such as the one below, the rules for which are defined in the plug-in documentation.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&lt;!-- An internal feed from the Simple:Press forum plugin (simplepressforum.com)--&gt;
&lt;li&gt;
&lt;h2&gt;Discussions&lt;/h2&gt;
    		&lt;div class=&quot;post&quot; id=&quot;forum-posts&quot;&gt;
    		&lt;div id=&quot;link-contain&quot;&gt;&lt;p class=&quot;contread&quot;&gt;&lt;a href=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> get_bloginfo<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'url'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>/forum&quot;&gt;View Forums &amp;raquo;&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;
			&lt;div class=&quot;entry&quot;&gt;
			&lt;h3&gt;Latest Topics&lt;/h3&gt;
				&lt;ul&gt;
				&lt; ?php sf_recent_posts_tag(3, false, true, true, true, 0, false); ?&gt;
				&lt;/ul&gt;
&nbsp;
			&lt;/div&gt;
&nbsp;
		&lt;/div&gt;
&nbsp;
&lt;/li&gt;</pre></div></div>

<p><strong>Listing all Pages</strong><br />
Normally, you should list all your pages in the header navigation, but in this case I had too many pages to list there, some of which didn&#8217;t belong in the navigation.  I listed only the pages that were not part of the header navigation or the footer (About, Contact) in this section.  You can find more info about <code>wp_list_pages()</code> <a href="http://codex.wordpress.org/Template_Tags/wp_list_pages" title="wp_list_pages() @ WP">here</a>.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;!--</span> <span style="color: #990000;">List</span> all parent pages and first level of child pages <span style="color: #339933;">--&gt;</span>
<span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;</span>h2<span style="color: #339933;">&gt;</span>More<span style="color: #339933;">&lt;/</span>h2<span style="color: #339933;">&gt;</span>
&nbsp;
    	<span style="color: #339933;">&lt;</span>div <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;post&quot;</span> id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;more-list&quot;</span><span style="color: #339933;">&gt;</span>
			<span style="color: #339933;">&lt;</span>ul<span style="color: #339933;">&gt;</span>
			<span style="color: #339933;">&lt;</span>h3<span style="color: #339933;">&gt;&lt;</span> ?php wp_list_pages<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'title_li=&amp;depth=2exclude=1,2,3,4,5,6'</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">;</span><span style="color: #000000; font-weight: bold;">?&gt;</span><span style="color: #339933;">&lt;/</span>h3<span style="color: #339933;">&gt;</span>
			<span style="color: #339933;">&lt;/</span>ul<span style="color: #339933;">&gt;</span>
	<span style="color: #339933;">&lt;/</span>div<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;/</span>li<span style="color: #339933;">&gt;</span></pre></div></div>

<p>If you are copy-pasting, don&#8217;t forget to add the footer to end your page</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span> ?php get_footer<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>Of course, there are plenty more tricks out there.  Frankly, these aren&#8217;t that special, but they seem fundamental.  If this helps you, let us know in the comments.</p>
]]></content:encoded>
			<wfw:commentRss>http://jeffersonsnewspaper.org/2009/building-a-wordpress-static-homepage-with-dynamic-elements/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Podcasts for History Teachers and Students</title>
		<link>http://jeffersonsnewspaper.org/2009/podcasts-for-history-teachers-and-students/</link>
		<comments>http://jeffersonsnewspaper.org/2009/podcasts-for-history-teachers-and-students/#comments</comments>
		<pubDate>Sun, 19 Jul 2009 19:41:05 +0000</pubDate>
		<dc:creator>E. Bell</dc:creator>
				<category><![CDATA[Education]]></category>
		<category><![CDATA[Reference]]></category>
		<category><![CDATA[digital history]]></category>
		<category><![CDATA[new media]]></category>
		<category><![CDATA[podcasts]]></category>
		<category><![CDATA[resources]]></category>

		<guid isPermaLink="false">http://jeffersonsnewspaper.org/?p=282</guid>
		<description><![CDATA[I&#8217;m one of those people who listens to NPR all day.  In the shower, in the car, while cooking, as a Sunday morning activity with my partner.  I almost never watch television, but I love passively listening to smart people talk, which is not really substantially different than watching dumb people swap wives when you get down to it.  Though I suppose it&#8217;s also not unlike sitting in an undergrad history lecture.  The point is,...]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter" src="http://jeffersonsnewspaper.org/wp-content/uploads/2009/07/kidwradio460.jpg" alt="" width="630" height="auto" />I&#8217;m one of those people who listens to NPR all day.  In the shower, in the car, while cooking, as a Sunday morning activity with my partner.  I almost never watch television, but I love passively listening to smart people talk, which is not really substantially different than watching dumb people swap wives when you get down to it.  Though I suppose it&#8217;s also not unlike sitting in an undergrad history lecture.  The point is, I like to be entertained and I also like to learn.  And I like doing it with my ears, so I can use my eyes and hands for other things.  What follows is an incomplete list of high-quality podcasts dealing with various topics in history.</p>
<p><span id="more-282"></span></p>
<p><a href="http://www.backstoryradio.org/">BackStory</a>:  BackStory is one of my favorite podcasts in any genre.  &#8220;On each show, renowned U.S. historians Ed Ayers, Peter Onuf, and Brian Balogh tear a topic from the headlines and plumb its historical depths.&#8221;  In addition to the hosts&#8217; impressive knowledge, the show has NPR quality production values and a great sense of humor and relevance. The show is a product of the Virginia Foundation for the Humanities, who produce a couple other shows (which I&#8217;ve yet to hear) through  their <a href="http://www.vfhradio.org/">VFH Radio</a> project.</p>
<p><a href="http://www.howstuffworks.com/stuff-you-missed-in-history-class-podcast.htm">StuffYouMissedInHistoryClass</a>: This one is produced by HowStuffWorks.com, which initially made me a bit skeptical.  I was quickly won over though.  Historians Candace Gibson and Jane McGrath investigate &#8220;the stories behind the lines of your textbooks.&#8221;  The topics range from esoteric (e.g. the history of happiness) to  topical (&#8220;Historically inaccurate movies&#8221;) to explanations (&#8220;How the Marshall Plan worked&#8221;) and conversations appropriate for younger students (&#8220;Did Betsy Ross really make the first American Flag?&#8221;).</p>
<p><a href="http://bingethinkinghistory.libsyn.com/">BingeThinkingHistory</a>:  While the previous two podcasts are conversational and focus on American history, this project &#8211; a one man show by Tony Cocks -  is oriented toward British and European history.  Since I know very little about European history, I am both intrigued and confounded by the subject matter.   Luckily the host has a dignified English voice and a knack for telling history in a narrative, documentary style that  makes good use of music and background audio (e.g. the sounds of battlefield artillery).  So I like it, even though I don&#8217;t really know what he&#8217;s talking about.</p>
<p>The<a title="podcasts @ Gilder Lehrman" href="http://www.gilderlehrman.org/wp/?p=4"> Gilder Lehrman Institute of American History</a> has a wide selection of &#8220;eminent historians discussing major topics in American history&#8221;, which they release as audio podcasts.  My first impression of the project site was that this would be a stuffy, old-school academic series wherein pokey old coots discussed their own greatness by way of displaying their mad lecture skillz.  I also thought it would cater primarily to college students and other academics.  In fact, there are some really interesting and informative lectures here, and it serves as a really great resource for pretty much any group above maybe middle school.  I noticed a handful of  high school teacher comments on the project site, reminding me that some teachers actually challenge their students to do real historical thinking.  Imagine that.</p>
<p><a href="http://historyonair.com/?page_id=5">HistoryPodcast/HistoryOnAir</a> &#8230; &#8220;Jason Watts is the host of History Podcast and an amateur historian.  It should be noted that he is not a professional.&#8221;  That&#8217;s what it says on the site, but ignore that (or sit and quietly appreciate it).  Jason does a good job of documenting his sources and telling historical stories, and has been doing it since 2005.  This is actually a nice little operation, and it looks like Jason is <a title="video podcast @ HistoryOnAir" href="http://cdn3.libsyn.com/historypodcast/HP118_The_Six_Wives_of_Henry_VIII.m4v?nvb=20090719190001&amp;nva=20090720191001&amp;t=0c73e1171670065e8a5c6">beginning to use video and visualization</a> tools so this is one to watch.  Users can submit topics, ideas, and even scripts for new episodes.  Also of note is the provision of transcripts and citations for each episode, which is handy for students who might want to explore a topic in more detail.  There&#8217;s also a big list of additional podcasts you might want to check out.</p>
<p>So there&#8217;s a brief list.  I actually have a backlog of additional podcasts in my iTunes library that I haven&#8217;t had time to review, so I  may add more to this post or continue the topic in a new post as I find more quality podcasts.   Please use the comments section to suggest some others you like.</p>
]]></content:encoded>
			<wfw:commentRss>http://jeffersonsnewspaper.org/2009/podcasts-for-history-teachers-and-students/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://cdn3.libsyn.com/historypodcast/HP118_The_Six_Wives_of_Henry_VIII.m4v?nvb=20090719190001&amp;amp" length="22947450" type="video/x-m4v" />
		</item>
		<item>
		<title>The Brief Etymology of a Gay Bash</title>
		<link>http://jeffersonsnewspaper.org/2009/the-brief-etymology-of-a-gay-bash/</link>
		<comments>http://jeffersonsnewspaper.org/2009/the-brief-etymology-of-a-gay-bash/#comments</comments>
		<pubDate>Thu, 21 May 2009 21:55:19 +0000</pubDate>
		<dc:creator>E. Bell</dc:creator>
				<category><![CDATA[Reference]]></category>
		<category><![CDATA[etymology]]></category>
		<category><![CDATA[language]]></category>
		<category><![CDATA[wiktionary]]></category>

		<guid isPermaLink="false">http://jeffersonsnewspaper.org/?p=179</guid>
		<description><![CDATA[I went to library school because I am what some people call &#8220;intellectually restless&#8221; &#8211; constantly moving from one interest to the next.  Honest people call this phenomenon by other names, such as &#8220;uncommitted,&#8221; &#8220;easily distracted&#8221; or &#8220;lazy,&#8221; but I prefer the more aristocratic &#8220;intellectually restless.&#8221; In any case, given my training and varied interests, I will occasionally pose imaginary questions on this site to give myself micro-research and reference problems. Please feel free to...]]></description>
			<content:encoded><![CDATA[<p id="firstHeading"><em>I went to library school because I am what some people call &#8220;intellectually restless&#8221; &#8211; constantly moving from one interest to the next.  Honest people call this phenomenon by other names, such as &#8220;uncommitted,&#8221; &#8220;easily distracted&#8221; or &#8220;lazy,&#8221; but I prefer the more aristocratic &#8220;intellectually restless.&#8221; In any case, given my training and varied interests, I will occasionally pose imaginary questions on this site to give myself micro-research and reference problems. Please feel free to submit a real question and I&#8217;ll do my best to answer, and provide citations to any relevant digital sources (sorry, I will not read or find books in your library).</em></p>
<p>The inaugural Jefferson&#8217;s Newspaper Reference question was submitted by the curious 13 year old Latino boy that lives in my subconscious.  His name is Martin.  Martin asks, &#8220;What&#8217;s the deal with the word maricón?  Why does it mean gay?&#8221;</p>
<p><span id="more-179"></span></p>
<p>Martin, let me tell you right now, I <em>will</em> be using <a title="Wiktionary" href="http://en.wiktionary.org/">Wiktionary</a>.  Deal with it.</p>
<p><a title="maricón on Wictionary" href="http://en.wiktionary.org/wiki/maric%C3%B3n">Maricón</a> is derived from marica, the Spanish language word for magpie &#8211; an Australian bird.  The base of the word is Maria or Mary (the English word magpie is derived from another variation of Mary, Margaret), with the addition of the suffix -ica, which is diminutive and often derogotory.  In other words, maricón translates into both &#8220;littly Mary&#8221; and &#8220;little bird.&#8221;</p>
<p>If you&#8217;re into gay bashing and/or Spanish language insults, this may come as no surprise.  <a title="mary on Wiktionary" href="http://en.wiktionary.org/wiki/mary">Mary</a> is another slang word used to describe gay men &#8212; most often used <em>by</em> gay men.  Gay men are also often referred to in terms that suggest aviation &#8212; <a title="fairy on Wiktionary" href="http://en.wiktionary.org/wiki/fairy">fairy</a>, for example, or another Spanish language word, <a title="pajarito on Wiktionary" href="http://en.wiktionary.org/wiki/pajarito">pajarito</a>, which has a couple connotations.  Pajarito is a diminutive form of pájaro, meaning bird or sometimes parrot.  In <span class="ib-content"><span class="qualifier-content">Spain<span class="ib-comma"><span class="qualifier-comma">,</span></span> Guatemala<span class="ib-comma"><span class="qualifier-comma">,</span></span> Mexico<span class="ib-comma"><span class="qualifier-comma">,</span></span> and Venezuela, </span></span>pájaro also means penis.  Thus, pajarito means both little bird and little penis.  Another double whammy.</p>
<p>Now, why are homosexuals so often equated to tiny virginal flying peckers?  I have no idea.  It&#8217;s very uncool and someone should get to the bottom of it.</p>
<p>But back to the question.  I promised a solid source to Martin, and my Wiktionary-gleamed musings are not going to cut it.</p>
<p>In <em>Marginalization of alternative gender and sexual identities: The role of normative discursive practices in Chilean society (2005), </em>linguist<em> </em>Sara Balder describes use of the term as such:</p>
<blockquote><p>A diachronic approach shows that maricón is derived from the proper name Maria. Accordingly, this female origin qualifies the term to connotatively recall feminine gender attributes such as weakness and submissiveness.  Another parallel is that the term indicates submission not only in the social sense, but also in the sense of sexual passivity.  In practice, this term is polysemous, and is primarily used to denote an effeminate and/or homosexual male, making it roughly synonymous with ‘effeminate sodomite’.  I will refer to this primary meaning as (maricón 1).</p>
<p>Additionally, this term can also be used secondarily in reference to a bad, wretched, or harmful person (maricón 2).    The relationship between these two senses can be best explained by the chaining approach (see Lakoff 1987), whereby maricón2  developed as a derivative of some of the characteristics of maricón 1.  The characteristics, specifically, are those that give maricón 1 its negative connotation: maricón 1, which denotes an effeminate homosexual male, is connotatively negative in that homosexuals are considered bad, wrong, weak, deviant, and contemptible by dominant society.  The chaining involved in the relationship of maricón 1 to<br />
maricón 2 can be conceptualized as such:</p>
<p style="text-align: center;">maricón 1: effeminate passive<br />
homosexual male<br />
↓<br />
effeminacy, passivity, and homosexuality<br />
are bad, deviant, and wrong<br />
↓<br />
a maricón is a bad, deviant person<br />
who commits wrongful acts<br />
↓<br />
maricón 2: a bad, wretched,<br />
or harmful person</p>
<p>The resultant polysemous outcome is that a term used for homosexuals can also be used for other people who are disreputable, odious wrongdoers (maricón 2), even if they have normative gender and sexual orientation.</p>
</blockquote>
<p>Read the full text <a title="Marginalization of alternative gender and sexual identities:    The role of normative discursive practices in Chilean society [PDF]" href="http://www.colorado.edu/ling/CRIL/Volume18_Issue1/paper_BALDER.pdf">here</a> [PDF].  No mention of magpies, though.</p>
<p>Maricón In the News:  Bill Richardson uses the term on the Don Imus Show, hampering his presidential bid and dampening his reputation as a strong supporter of gay and lesbian rights (2007): <a title="VivirLatino: Bill Richardson..." href="http://vivirlatino.com/2007/07/11/bill-richardson-not-such-a-latinogay-friendly-candidate.php">link</a></p>
<p>Maricón In the History: Fidel Castro, preeminent among gay-bashing jerks, allegedley sent his pal, writer Gabriel Garcia Marquez, to leaders of both Panama and Spain with one brief spoken message: &#8220;<em>Dice Fidel que usted es un maricón</em>&#8221; (&#8220;Fidel says you are a faggot&#8221;): <a title="Dulces guerreros cubanos (Barcelona: Seix Barral, 1999), p.200-202, cited in The Secret Fidel Castro: Deconstructing the Symbol" href="http://books.google.com/books?id=0l4OAAAACAAJ&amp;dq=dulces+guerreros+cubanos&amp;ei=eU8hSt7QHJTyzQS1yq21Dw">link (hover for citation) </a></p>
]]></content:encoded>
			<wfw:commentRss>http://jeffersonsnewspaper.org/2009/the-brief-etymology-of-a-gay-bash/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
	</channel>
</rss>

