getAllStatuses(); $renderer = get_active_status_renderer(); echo ''; } function topic_icons_css() { echo "\n"; } function topic_icons_label( $label ) { global $topic; if (bb_is_front() || bb_is_forum() || bb_is_view() || bb_is_tag()) { $icon_set_name = topic_icons_get_active_icon_set(); $icon_set_url = ICON_SET_URL_BASE . $icon_set_name; $status = get_active_status_interpreter()->getStatus(bb_get_location(), $topic); $renderer = get_active_status_renderer(); $image = $renderer->renderStatus($status); $tooltip = $renderer->renderStatusTooltip($status); $exists = file_exists(dirname(__FILE__).'/icon-sets/'.$icon_set_name.'/'.$image); if (!$exists) { return sprintf(__('
%s
%s'), get_topic_link($topic->topic_id), ICON_SET_URL_BASE.'/empty.png', ICON_WIDTH, ICON_HEIGHT, $tooltip, $label); } else if (strlen($tooltip) > 0) { return sprintf(__('
%s%s
%s'), get_topic_link($topic->topic_id), $icon_set_url.'/'.$image, ICON_WIDTH, ICON_HEIGHT, $tooltip, $tooltip, $label); } else { return sprintf(__('
%s
%s'), get_topic_link($topic->topic_id), $icon_set_url.'/'.$image, ICON_WIDTH, ICON_HEIGHT, $tooltip, $label); } } return $label; } function topic_icons_init( ) { remove_filter('bb_topic_labels', 'bb_closed_label', 10); remove_filter('bb_topic_labels', 'bb_sticky_label', 20); add_filter('bb_topic_labels', 'topic_icons_label', 11); add_action('bb_head', 'topic_icons_css'); add_action('bb_admin_menu_generator', 'topic_icons_admin_page_add'); add_action('bb_admin-header.php', 'topic_icons_admin_page_process'); topic_icons_register_status_interpreter('default', new DefaultStatusInterpreter(BUSY_THRESHOLD)); topic_icons_register_status_renderer('default', new DefaultStatusRenderer()); } topic_icons_init(); ?> Digital Humanities Questions & Answers » Topic: Seeking a generalizable metadata mapping tool http://digitalhumanities.org/answers/topic/seeking-a-generalizable-metadata-mapping-tool Digital Humanities Questions & Answers » Topic: Seeking a generalizable metadata mapping tool en-US Sun, 24 Mar 2019 05:48:32 +0000 http://bbpress.org/?v=1.0.2 <![CDATA[Search]]> q http://digitalhumanities.org/answers/search.php jennriley on "Seeking a generalizable metadata mapping tool" http://digitalhumanities.org/answers/topic/seeking-a-generalizable-metadata-mapping-tool#post-1977 Fri, 12 Apr 2013 15:25:59 +0000 jennriley 1977@http://digitalhumanities.org/answers/ <p><em>Replying to @<a href='http://digitalhumanities.org/answers/profile/jennriley'>jennriley</a>'s <a href="http://digitalhumanities.org/answers/topic/seeking-a-generalizable-metadata-mapping-tool#post-1941">post</a>:</em></p> <p>Turns out the Curator's Workbench actually can output in other formats - you can give it an XSD and then map your input data to that. Sorry I was confused at first! </p> jennriley on "Seeking a generalizable metadata mapping tool" http://digitalhumanities.org/answers/topic/seeking-a-generalizable-metadata-mapping-tool#post-1941 Wed, 20 Mar 2013 21:27:56 +0000 jennriley 1941@http://digitalhumanities.org/answers/ <p>Unfortunately, the Curator's Workbench that Kevin mentions only produces MODS; the output format is not configurable. </p> Kevin Hawkins on "Seeking a generalizable metadata mapping tool" http://digitalhumanities.org/answers/topic/seeking-a-generalizable-metadata-mapping-tool#post-1940 Wed, 20 Mar 2013 14:05:35 +0000 Kevin Hawkins 1940@http://digitalhumanities.org/answers/ <p>Here's another possibility:</p> <p><a href="http://www.lib.unc.edu/blogs/cdr/index.php/2013/03/20/curators-workbench-4-1-1-release/" rel="nofollow">http://www.lib.unc.edu/blogs/cdr/index.php/2013/03/20/curators-workbench-4-1-1-release/</a> </p> Kevin Hawkins on "Seeking a generalizable metadata mapping tool" http://digitalhumanities.org/answers/topic/seeking-a-generalizable-metadata-mapping-tool#post-1918 Sun, 10 Mar 2013 12:26:25 +0000 Kevin Hawkins 1918@http://digitalhumanities.org/answers/ <p>MINT might do the trick:</p> <p><a href="http://mint.image.ece.ntua.gr/redmine/projects/mint/wiki" rel="nofollow">http://mint.image.ece.ntua.gr/redmine/projects/mint/wiki</a></p> <p>Here's an old demo:</p> <p><a href="http://www.youtube.com/watch?v=jR3HMAanmzM&amp;feature=related" rel="nofollow">http://www.youtube.com/watch?v=jR3HMAanmzM&amp;feature=related</a> </p> jennriley on "Seeking a generalizable metadata mapping tool" http://digitalhumanities.org/answers/topic/seeking-a-generalizable-metadata-mapping-tool#post-1917 Fri, 08 Mar 2013 18:01:39 +0000 jennriley 1917@http://digitalhumanities.org/answers/ <p><em>Replying to @dot.porter's <a href="http://digitalhumanities.org/answers/topic/seeking-a-generalizable-metadata-mapping-tool#post-1916">post</a>:</em></p> <p>Excel's XML mapping is actually pretty powerful. Here's some official documentation:</p> <p><a href="http://office.microsoft.com/en-us/excel-help/map-and-unmap-xml-elements-HP010206397.aspx" rel="nofollow">http://office.microsoft.com/en-us/excel-help/map-and-unmap-xml-elements-HP010206397.aspx</a></p> <p>It's *very* confusing to use, though. Basically the procedure is:</p> <p>1) get some data in Excel<br /> 2) give Excel a sample file with the structure you want, or an XML schema file<br /> 3) Tell Excel which column goes in which XML element<br /> 4) export your data as XML</p> <p>There are definitely some limitations, and I have to re-learn how to use it every time I need it, but when I do that I'm always surprised at the amount of functionality there. </p> dot.porter on "Seeking a generalizable metadata mapping tool" http://digitalhumanities.org/answers/topic/seeking-a-generalizable-metadata-mapping-tool#post-1916 Fri, 08 Mar 2013 16:32:12 +0000 dot.porter 1916@http://digitalhumanities.org/answers/ <p>I'm looking for what is probably the holy grail of metadata: a generalizable mapping tool. I could specify the final output (in XML), perhaps based on a schema or I could just indicate somehow the output tags and attributes. This tool would enable a user to put in their metadata in whatever format it's in (any XML, csv, excel), map fields/tags/attributes from their metadata document into the tags and attributes I've specified, and would spit out a document that follows my format.</p> <p>An example of how this would function is the Sheet Music Consortium Metadata Mapping Tool, which is unfortunately not generalizable and doesn't accept XML (<a href="http://www.dlib.indiana.edu/smcmigrator/upload.php" rel="nofollow">http://www.dlib.indiana.edu/smcmigrator/upload.php</a>)</p> <p>Does such a thing exist? </p>