<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Hi all,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Experimenting with the human readable URLs options and I notice that with our numerical EADIDS 2 underscores are inserted as a prefix for Resources, but not Archival Objects. I see the same behavior with or without autogenerate slugs on/off
and when running the background job.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">This behavior is not present with alphanumeric EADIDs.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Is this a bug or a feature? I don’t see this in the original spec documentation.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Some screenshots attached.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Our config:<o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:Consolas;color:#24292E;border:none windowtext 1.0pt;padding:0in">AppConfig[:use_human_readable_urls] = true<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:Consolas;color:#24292E;border:none windowtext 1.0pt;padding:0in">#<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:Consolas;color:#24292E;border:none windowtext 1.0pt;padding:0in">## Use the repository in human-readable URLs<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:Consolas;color:#24292E;border:none windowtext 1.0pt;padding:0in">## Warning: setting repo_name_in_slugs to true when it has previously been set to false will break links, unless all slugs are regenerated.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:Consolas;color:#24292E;border:none windowtext 1.0pt;padding:0in">AppConfig[:repo_name_in_slugs] = true<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:Consolas;color:#24292E;border:none windowtext 1.0pt;padding:0in">#<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:Consolas;color:#24292E;border:none windowtext 1.0pt;padding:0in">## Autogenerate slugs based on IDs. If this is set to false, then slugs will autogenerate based on name or title.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:Consolas;color:#24292E;border:none windowtext 1.0pt;padding:0in">AppConfig[:auto_generate_slugs_with_id] = true<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:Consolas;color:#24292E;border:none windowtext 1.0pt;padding:0in">#<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:Consolas;color:#24292E;border:none windowtext 1.0pt;padding:0in">## For Resources: if this option and auto_generate_slugs_with_id are both enabled, then slugs for Resources will be generated with
EADID instead of the identifier.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:Consolas;color:#24292E;border:none windowtext 1.0pt;padding:0in">AppConfig[:generate_resource_slugs_with_eadid] = true<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:Consolas;color:#24292E;border:none windowtext 1.0pt;padding:0in">#<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:Consolas;color:#24292E;border:none windowtext 1.0pt;padding:0in">## For archival objects: if this option and auto_generate_slugs_with_id are both enabled, then slugs for archival resources will
be generated with Component Unique Identifier instead of the identifier.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:Consolas;color:#24292E;border:none windowtext 1.0pt;padding:0in">AppConfig[:generate_archival_object_slugs_with_cuid] = true</span><span style="font-size:10.0pt;font-family:Consolas;color:#24292E"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal">John<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">John P. Rees<o:p></o:p></p>
<p class="MsoNormal">Archivist and Digital Resources Manager<o:p></o:p></p>
<p class="MsoNormal">History of Medicine Division<o:p></o:p></p>
<p class="MsoNormal">National Library of Medicine<o:p></o:p></p>
<p class="MsoNormal">301-827-4510<o:p></o:p></p>
<p class="MsoNormal">Teleworking M-F 8:00AM – 4:30PM Eastern Time each day until further notice<o:p></o:p></p>
<p class="MsoNormal"><img width="200" height="50" style="width:2.0833in;height:.5208in" id="_x0000_i1029" src="cid:image002.png@01D7884F.38D92DB0" alt="I am vaccinated signature."><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><img width="635" height="238" style="width:6.6145in;height:2.4791in" id="Picture_x0020_3" src="cid:image004.jpg@01D7884F.FC3F4DC0"><o:p></o:p></p>
<p class="MsoNormal"><img width="452" height="169" style="width:4.7083in;height:1.7604in" id="Picture_x0020_4" src="cid:image008.png@01D7884F.38D92DB0"><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><img width="746" height="239" style="width:7.7708in;height:2.4895in" id="Picture_x0020_2" src="cid:image005.jpg@01D7884F.FC3F4DC0"><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><img width="597" height="266" style="width:6.2187in;height:2.7708in" id="Picture_x0020_1" src="cid:image011.jpg@01D7884F.FC3F4DC0"><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>