<?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>Performance | museum-digital: blog</title>
	<atom:link href="https://blog.museum-digital.org/tag/performance/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.museum-digital.org</link>
	<description>A blog on museum-digital and the broader digitization of museum work.</description>
	<lastBuildDate>Sun, 07 May 2023 16:44:43 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://blog.museum-digital.org/wp-content/uploads/2020/01/cropped-mdlogo-code-512px-32x32.png</url>
	<title>Performance | museum-digital: blog</title>
	<link>https://blog.museum-digital.org</link>
	<width>32</width>
	<height>32</height>
</image> 
<atom:link rel="search" type="application/opensearchdescription+xml" title="Search museum-digital: blog" href="https://blog.museum-digital.org/wp-json/opensearch/1.1/document" />	<item>
		<title>Summary of the monthly user meetup (April 2023) / New features and improvements</title>
		<link>https://blog.museum-digital.org/2023/05/07/summary-of-the-monthly-user-meetup-april-2023-new-features-and-improvements/</link>
		
		<dc:creator><![CDATA[Joshua Ramon Enslin]]></dc:creator>
		<pubDate>Sun, 07 May 2023 16:44:42 +0000</pubDate>
				<category><![CDATA[Community]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Frontend]]></category>
		<category><![CDATA[musdb]]></category>
		<category><![CDATA["List results"]]></category>
		<category><![CDATA[Imports]]></category>
		<category><![CDATA[Location tracking]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[User interface]]></category>
		<guid isPermaLink="false">https://blog.museum-digital.org/?p=3731</guid>

					<description><![CDATA[We continued the series of monthly user meetups and again discussed the new features and improvements. A summary can be found below. New Developments The last month has been an exceptionally slow month in terms of technical development around museum-digital. There are however some newsworthy tidbits. musdb Recording external IDs for museums Museums, like all <a href="https://blog.museum-digital.org/2023/05/07/summary-of-the-monthly-user-meetup-april-2023-new-features-and-improvements/" class="more-link">...</a>]]></description>
										<content:encoded><![CDATA[
<p>We continued the series of monthly user meetups and again discussed the new features and improvements. A summary can be found below.</p>



<h2 class="wp-block-heading" id="h-new-developments">New Developments</h2>



<p>The last month has been an exceptionally slow month in terms of technical development around museum-digital. There are however some newsworthy tidbits.</p>



<h3 class="wp-block-heading" id="h-musdb">musdb</h3>



<h4 class="wp-block-heading" id="h-recording-external-ids-for-museums">Recording external IDs for museums</h4>



<p>Museums, like all of us, are present in more and more databases. For linking different databases, it is useful &#8211; sometimes necessary &#8211; to know the ID of the same entity in both databases. Hungarian law thus mandates collection management systems, which are to be accredited for fully paperless use in museums, to allow storing a museum&#8217;s ID with the Hungarian Statistical Office. musdb can now do exactly that: Store external IDs of museums in a given list of external source repositories / databases.</p>



<p>The list of available external databases and the regular expressions to validate IDs in them are available <a href="http://The list of available external databases and the regular expressions to validate IDs in them are available here. For now, the list only contains the Hungarian Statistical Office, but the more options there will be in the future, the better.">here</a>. For now, the list only contains the Hungarian Statistical Office, but the more options there will be in the future, the better.</p>



<h4 class="wp-block-heading" id="h-more-fields-covered-by-list-results-and-excel-export">More fields covered by &#8220;list results&#8221; and Excel export</h4>



<p>The &#8220;list results&#8221; page (a.k.a. table view) for object search results offers the option to view the selected objects&#8217; data in a customizable tabular format. Mainly because of that exact tabular format, it is not possible to display everything a full database view of the object offers using the &#8220;list results&#8221; page. Over the last month, we have nevertheless extended the list of displayable fields in the &#8220;list results&#8221; table.</p>



<p>Thus, it is now possible to display all translations for the object type, object name, descriptions, etc. of an object. Similarly, it is now possible to list all Weblinks linked to the object as a compiled (comma-separated) field. As the automated report generation and the Excel export tools build upon the same basic code as the &#8220;list results&#8221; page, these new fields are now also available in those cases.</p>



<h4 class="wp-block-heading" id="h-new-field-for-objects-last-change-of-permanent-location">New field for objects: &#8220;Last change of permanent location&#8221;</h4>



<p>It is now possible to manually record the last date, the permanent location of a given object has been updated. This obviously makes sense for tracking relocations and re-organizations within the museum. Importantly, the field needs to be manually filled out, as the date of the last change of the permanent location may be far in the past or frankly unrelated to the database, even if there is one (say, the museum moves the depot to a different place, but the date is only later updated in the database via a batch editing process).</p>



<h4 class="wp-block-heading" id="h-user-interface">User interface</h4>



<p>After there were some reports of people not seeing the difference between a valid form in musdb and an invalid / incomplete one, we updated the design of submit buttons. Submit buttons in incomplete forms are now blurred out, to add another hint at the incompleteness of the form.</p>



<h3 class="wp-block-heading" id="h-frontend">Frontend</h3>



<h4 class="wp-block-heading" id="h-improved-performance-and-decreased-bandwidth-usage-serving-images-in-webp">Improved performance and decreased bandwidth usage: serving images in webp</h4>



<p>Over the last years, there have been a number of new image formats seeking to combine all the features of older and well-established formats like JPG and PNG with an improved compression. The most established format of that newer generation of image formats is <a href="https://en.wikipedia.org/wiki/WebP">webp</a>, which is by now well-supported by all modern browsers and most local image viewers.</p>



<p>To save bandwidth and improve loading speed, we now store and serve full-sized webp versions of newly uploaded object images along with the regular jpg versions. If possible, the webp version is served on object pages. An additional benefit is the aforementioned support for features jpg files do not support, such as transparent image backgrounds.</p>



<h4 class="wp-block-heading" id="h-iframe-embedding-now-only-possible-from-whitelisted-sources">iFrame embedding now only possible from whitelisted sources</h4>



<p>If a museum wants to embed their data from museum-digital into their own website, there are traditionally two ways to do so. The better, but much more complicated option is to use the API to fetch the relevant data and present them in any way one wants. Much easier (and cheaper obviously) is embedding the museum&#8217;s data using iframes.</p>



<p>Unfortunately, iframes can also be used for attacks on users&#8217; login data. We have thus now restricted this option to only allow embedding from whitelisted sources. If a museum wants to embed their data this way, this means that they now need to notify their regional administrators beforehand.</p>



<h3 class="wp-block-heading" id="h-importer">Importer</h3>



<p>The importer now supports imports for exports from Startext&#8217;s <a href="https://www.startext.de/produkte/hida">HiDa</a> in the configuration of the Saxon State Agency for Museums.</p>



<h2 class="wp-block-heading">Other News</h2>



<p>In other news, the <a href="https://www.youtube.com/@museum-digital/">Youtube</a> channel has picked up steam, with some new tutorials both in German and Ukrainian.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Summary of the monthly user meetup (March 2023)</title>
		<link>https://blog.museum-digital.org/2023/04/05/summary-of-the-monthly-user-meetup-march-2023/</link>
					<comments>https://blog.museum-digital.org/2023/04/05/summary-of-the-monthly-user-meetup-march-2023/#respond</comments>
		
		<dc:creator><![CDATA[Joshua Ramon Enslin]]></dc:creator>
		<pubDate>Tue, 04 Apr 2023 23:58:21 +0000</pubDate>
				<category><![CDATA[Community]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Frontend]]></category>
		<category><![CDATA[Importer]]></category>
		<category><![CDATA[musdb]]></category>
		<category><![CDATA[Project page www.museum-digital.org]]></category>
		<category><![CDATA[Themator]]></category>
		<category><![CDATA[New Features]]></category>
		<category><![CDATA[Object images]]></category>
		<category><![CDATA[Object search (musdb)]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[User interface]]></category>
		<guid isPermaLink="false">https://blog.museum-digital.org/?p=3718</guid>

					<description><![CDATA[Yesterday, we held our regular user meetup as scheduled. As promised, below you can find an overview of the new features and updates below some more general points. General YouTube channel There now is a museum-digital YouTube channel. For now, one can find some German-language screencasts on different features in musdb and nodac there. New <a href="https://blog.museum-digital.org/2023/04/05/summary-of-the-monthly-user-meetup-march-2023/" class="more-link">...</a>]]></description>
										<content:encoded><![CDATA[
<p>Yesterday, we held our regular user meetup as scheduled. As promised, below you can find an overview of the new features and updates below some more general points.</p>



<h2 class="wp-block-heading">General</h2>



<h3 class="wp-block-heading">YouTube channel</h3>



<p>There now is a <a href="http://youtube.com/@museum-digital/">museum-digital YouTube channel</a>. For now, one can find some German-language screencasts on different features in musdb and nodac there.</p>



<h3 class="wp-block-heading">New sections on project page (www.museum-digital.org)</h3>



<p>As already described in the previous post, the project page <a href="https://www.museum-digital.org/">www.museum-digital.org</a> now features a <a href="https://blog.museum-digital.org/2023/03/14/a-calendar-is-a-commitment/">calendar</a>. Since then, we have also added a <a href="https://en.about.museum-digital.org/about/people/">small page listing</a> people working on museum-digital &#8211; e.g. some of the coordinators and developers &#8211; as well as power users. The list will obviously always be more than incomplete, but if you want to be listed, just send a mail.</p>



<h2 class="wp-block-heading">Development</h2>



<h3 class="wp-block-heading" id="musdb">musdb</h3>



<h4 class="wp-block-heading" id="allow-batch-editing-of-photographers-on-image-list">Allow batch editing of photographers on image list</h4>



<p>Running batch updates on the ownership, license status and photographer of a set of objects can be done either via the institution-wide settings page or via a selection on the image list page. The batch updating functionality of the institution-wide settings page works by replacing the given entries in one of the fields for all objects of the museum &#8211; it is thus not suitable if one is to only update the photographer field for a list of objects from a single collection (rather than the whole museum).</p>



<p>Batch updating images&#8217; legal information from the image list (click on an image in the list and drag it to activate selection mode, then update by selection) was only possible in the case of image licenses and rights holders. With a small update, it is now possible to also batch-update the images&#8217; photographers field that way.</p>



<h4 class="wp-block-heading" id="the-api-can-now-update-object-event">The API can now update object event</h4>



<p>Thus far, the API could only be used for adding wholly new object events (who did what, when, and where, with the object) or deleting them. With the updates of this month, now possible to directly update events.</p>



<p>This is already actively used in customizing musdb using a <a href="https://en.wikipedia.org/wiki/Tampermonkey">Tampermonkey</a> script by some of the norm data editors. They can thus add a custom button to transfer incomplete actor or place information to the object&#8217;s description. This button, on the other hand, would not be useful for regular users at all.</p>



<h4 class="wp-block-heading" id="ui-improvements-for-the-object-search-interface">UI improvements for the object search interface and new sort option</h4>



<p>After a very fruitful discussion and feedback from Hungarian colleagues, we got around to some user interface improvements in the object overview and search interface. A lengthy discussion can be found in a dedicated <a href="https://blog.museum-digital.org/de/2023/03/21/detailverbesserungen-bei-der-objektsuche-in-musdb/">blog post in German</a>. To sum up: there are now headlines for each subsection of the sidebar and tooltips explain the different buttons and search and sort options upon hovering one&#8217;s mouse over them. Additionally, a new sort option was added to sort objects by the number characters within the inventory numbers of the searched objects.</p>



<h4 class="wp-block-heading" id="two-bugfixes-navigating-to-the-previous-or-next-object-in-a-selection">Two bugfixes: Navigating to the previous or next object in a selection</h4>



<p>It is a very simple but similarly useful feature: One runs an object search and thus creates a result list of objects. After viewing or editing one of the objects, one can then proceed to the next one in the results list by clicking at the arrows at the top of the sidebar.</p>



<p>Unfortunately, musdb had two bugs preventing this navigation for some of the available sort options. On the one hand, newer sort options required manually adding the search fields to a list specific to the previous/next navigation thus far &#8211; and had not been covered yet. Navigating to the next object after sorting by e.g. the length of the searched objects was thus impossible so far. The specific list of sort fields has now been removed in the previous/next navigation. Instead, the main list of sort options from the main object search class is directly used &#8211; in effect preventing such issues of &#8220;forgotten&#8221; values from ever appearing again.</p>



<p>A second issue concerned string-based sort options. For an improved performance, the previous / next navigation works by querying the underlying search index for the next object where e.g. the object ID is lower than the current one (`WHERE id &gt; 20000`). The same search logic is straight-out not possible with string-based sort options, as search queries for values greater than or smaller than a given one cannot be executed with string-based fields.</p>



<p>Fortunately, the issue came up just after we had implemented an option to search and <a href="https://blog.museum-digital.org/de/2023/03/21/detailverbesserungen-bei-der-objektsuche-in-musdb/">sort objects by the numeric components of their inventory numbers</a>. Thus, the previous / next navigation can fall back to that sort option if a user wants to navigate to the next object after sorting by inventory number. As stated back when we introduced the new search and sort option: It should work for most museums. Unfortunately, there is no such option to mitigate the issues of string-based sorting when sorting objects by their names. The best we could do in this case is displaying a clear error message, stating that the previous / next navigation is <em>not</em> available when sorting by the object&#8217;s names.</p>



<h4 class="wp-block-heading" id="home-location-can-now-be-selected-as-a-required-field-when-adding-new-objects">&#8220;Home location&#8221; can now be selected as a required field when adding new objects</h4>



<p>On the institution-wide settings page, museum directors (or those holding the same user role within musdb) can determine which fields are required when adding new objects. The list of selectable fields automatically covers all free text fields linked to the object. Repeat fields and references to other sections of musdb need to be manually implemented however. As the home or permanent location of an object is a most logical and common field to be required for all object, it was only consequential to prioritize making it available as a required field. We have done so now.</p>



<h4 class="wp-block-heading" id="major-performance-improvements-in-list-results-page">Major performance improvements in &#8220;list results&#8221; page</h4>



<p>The &#8220;list results&#8221; page provides for a table view of object search results, allows the export of search results to Excel, and is &#8211; under the hood &#8211; also used for generating custom reports. We managed to achieve a considerable improvement in the page&#8217;s performance by bulk loading data and simplifying the code of the HTML page. Both adjustments should not really be noticable when one tries to list or export only some objects. Exporting some thousand objects should work considerably faster now however.</p>



<h3 class="wp-block-heading" id="frontend">frontend</h3>



<h4 class="wp-block-heading" id="pdf-metadata-for-main-object-pdf-export">PDF metadata for main object PDF export</h4>



<p>XMP metadata are now written into exported PDF files. Thus, users can more easily identify authorship, titles etc., especially when using specialized software like e-book readers.</p>



<h4 class="wp-block-heading" id="linking-from-collection-descriptions">Linking from collection descriptions</h4>



<p>Collection descriptions are now being parsed for the existence of URLs. If one, starting with https:// (http:// is ignored) exists, the URL is automatically transformed into a clickable link.</p>



<h3 class="wp-block-heading" id="nodac">nodac</h3>



<p>We added some translation variables on the start page.</p>



<h3 class="wp-block-heading" id="themator">themator</h3>



<p>The &#8220;themator&#8221; has received a small user interface improvement for mobile devices. The topic-specific navigation or table of contents is now moved below rather than above the main content of a page in the regular &#8220;topic&#8221; viewing mode on mobile devices.</p>



<h3 class="wp-block-heading" id="importer">Importer</h3>



<h4 class="wp-block-heading" id="importing-gifs">Importing GIFs</h4>



<p>To simplify the handling of images, museum-digital internally only uses JPG image files (webp versions are generated for a faster loading, but are optional). While they lack some support for features like transparency, JPGs provide for a much better compression with images of three-dimensional things and subjects not featuring solid colors. Newer formats like AVIF and Webp unfortunately still lack the support among locally installed image viewers for us to fully switch over to them.</p>



<p>The importer handles input PNGs by converting them to JPG files. Starting this month, the same can be done with input GIF files.</p>



<h4 class="wp-block-heading" id="improved-handling-of-blacklisted-actors-places-and-times">Improved handling of blacklisted actors, places and times</h4>



<p>One of the key issues with imports is what happens after imports. Specifically, museum-digital uses controlled vocabularies for actors, places, times and tags that can be linked to an object directly or via events. When people enter new such entries using musdb, there are a number of safeguards and nudges to ensure productive inputs. Adding a new actor, for example, requires one to enter at least 10 characters of a description for the actor. Input fields for the date of birth and death are also provided. If possible, one can enter a Wikipedia or Wikidata URL (or ID) and directly fetch the relevant information from there.</p>



<p>During imports, there is no space for asking questions to the importing institution. Incomplete or false actor, place, time and tag names (for example, if two actors are linked as one; &#8220;John Doe and Jane Doe&#8221; is not one single actor!) are given, these are necessarily imported into our controlled vocabularies by default. Depending on the import, this puts a significant burden on our volunteer group of vocabulary editors.</p>



<p>To eventually get to a solution, we have added options for automatically rewriting terms (e.g. &#8220;Berlin, Germany&#8221; will be autocorrected to &#8220;Berlin&#8221;) and blacklisting them completely (&#8220;Good morning &#8230;&#8221; is no actor&#8221;). Thus far, blacklisted terms were simply ignored by the importer.</p>



<p>&#8220;Unknown painter&#8221; is not an actor, but the information that it is a painter may still be useful. To allow us to blacklist more and keep the controlled vocabularies &#8220;clean&#8221; without losing such data, the importer now imports blacklisted terms in event components (&#8220;who painted it?&#8221;) into the event annotation. If the only known information on the whole event is blacklisted, the event cannot be created &#8211; an event always requires at least one linked actor, place or time. The event annotation of &#8220;empty events&#8221; is hence moved to the object description automatically.</p>



<div class="wp-block-cgb-cc-by message-body" style="background-color:white;color:black"><img decoding="async" src="https://blog.museum-digital.org/wp-content/plugins/creative-commons/includes/images/by.png" alt="CC" width="88" height="31"/><p><span class="cc-cgb-name">This content</span> is licensed under a <a href="https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International license.</a> <span class="cc-cgb-text"></span></p></div>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.museum-digital.org/2023/04/05/summary-of-the-monthly-user-meetup-march-2023/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-thumbnail><url>https://blog.museum-digital.org/wp-content/uploads/2023/04/md-YT-Banner.jpg.webp</url><width>600</width><height>338</height></post-thumbnail>	</item>
	</channel>
</rss>
