<div dir="ltr">Making the change to the Archon code results in removal of the [i] tags, but it doesn't replace it with the <i> tag needed to italicize text in the UI. </div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 17, 2015 at 3:08 PM, Prom, Christopher John <span dir="ltr"><<a href="mailto:prom@illinois.edu" target="_blank">prom@illinois.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">
That would need to be put into your archon on the server side, you just need to replace the existing line of code with what I provided and will see the fix when you look at it, which is the insertion of the bbcode_to_html function.
<div><br>
</div>
<div>Chris</div>
<div><br>
<div><div><div class="h5">
<div>On Jun 17, 2015, at 10:36 AM, Matthew J Gorzalski <<a href="mailto:mGorzalski@lib.siu.edu" target="_blank">mGorzalski@lib.siu.edu</a>> wrote:</div>
<br>
</div></div><blockquote type="cite"><div><div class="h5">
<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Georgia",serif">Nathan and Chris,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Georgia",serif"> </span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Georgia",serif">We italicized the “Southern Illinoisan” using the Italics button in Archon, which then displays the [i] and [/i] as seen in the screen shot. Is it possible to find and replace
as you instruct given that the [i] seems to happen by default?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Georgia",serif"> </span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Georgia",serif">And what Chris describes, is that code that should be input in the migration tool or our Archon?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Georgia",serif"> </span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Georgia",serif">Thanks,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Georgia",serif"> </span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">
<a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" target="_blank">archivesspace_users_group-bounces@lyralists.lyrasis.org</a> [<a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" target="_blank">mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org</a>]
<b>On Behalf Of </b>Nathan Stevens<br>
<b>Sent:</b> Wednesday, June 17, 2015 10:28 AM<br>
<b>To:</b> Archivesspace Users Group<br>
<b>Subject:</b> Re: [Archivesspace_Users_Group] [i] still there?<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Ok I will give this a try and report on the results<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Wed, Jun 17, 2015 at 11:07 AM, Prom, Christopher John <<a href="mailto:prom@illinois.edu" target="_blank">prom@illinois.edu</a>> wrote:<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class="MsoNormal">Matt and Nathan,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal">I have an alternate solution. This had come up in regard to another repository, and trawling through me email I found the solution, which needs to be manually made on the archon side:
<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">On line 46 of the file packages/core/templates/default/coll-contentlist.inc.php, substitute the following code for what is there.
<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">echo $_ARCHON->bbcode_to_html(json_encode($arrout[0])); // at some point, the object was nested with first element of a parent array, so don't encode the second, null object.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">This is a bug and ideally a new version of archon should be released with this fix, since the bbcode to html function should have been there all along; I did push my code up in github master for Archon, but have not yet had time to issue
an new archon release to include it.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Chris Prom<u></u><u></u></p>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<div>
<p class="MsoNormal">On Jun 17, 2015, at 9:48 AM, Nathan Stevens <<a href="mailto:ns96@nyu.edu" target="_blank">ns96@nyu.edu</a>> wrote:<u></u><u></u></p>
</div>
<p class="MsoNormal"><br>
<br>
<u></u><u></u></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal">This is not a bug, but rather has to do with how the information was entered into archon in the first place. To fix, <span style="font-family:"Calibri",sans-serif">a find-replace on all records with will need to done changing [i] into <i>
and [/i] into </i>, directly on the backend data.</span> <u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Tue, Jun 16, 2015 at 2:19 PM, Matthew J Gorzalski <<a href="mailto:mGorzalski@lib.siu.edu" target="_blank">mGorzalski@lib.siu.edu</a>> wrote:<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Georgia",serif">This is our most recent migration attempt and I thought the italics bug was fixed. There is nothing out of the ordinary
in the Archon record for this folder.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Georgia",serif"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Trebuchet MS",sans-serif">MATT GORZALSKI</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Trebuchet MS",sans-serif">University Archivist</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Trebuchet MS",sans-serif"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Trebuchet MS",sans-serif;color:#660000">MORRIS LIBRARY</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Trebuchet MS",sans-serif;color:#660000">MAIL CODE 6632</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Trebuchet MS",sans-serif;color:#660000">SOUTHERN ILLINOIS UNIVERSITY</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Trebuchet MS",sans-serif;color:#660000">605 AGRICULTURE DR</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Trebuchet MS",sans-serif;color:#660000">CARBONDALE, IL 62901</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Trebuchet MS",sans-serif;color:#660000"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Trebuchet MS",sans-serif"><a href="mailto:mgorzalski@lib.siu.edu" target="_blank">mgorzalski@lib.siu.edu</a></span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Trebuchet MS",sans-serif">P:
<a href="tel:618%2F453-2225" target="_blank">618/453-2225</a></span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Trebuchet MS",sans-serif">F:
<a href="tel:618%2F453-3440" target="_blank">618/453-3440</a></span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Trebuchet MS",sans-serif;color:#660000"><a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__lib.siu.edu&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=jGJMaTc-8I-z6_tkoj_Qyi4UF1KtYBfcz4s2Ly33jmw&m=TBTQOquRJlUbeau8Y-mNeke5ryHHST54fvINMoBrJQ8&s=N4kl1cmir0WnrDjVeS09u_oU6QApxA8EH-lv35nqpDw&e=" target="_blank">lib.siu.edu</a></span><u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_______________________________________________<br>
Archivesspace_Users_Group mailing list<br>
<a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" target="_blank">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br>
<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__lyralists.lyrasis.org_mailman_listinfo_archivesspace-5Fusers-5Fgroup&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=jGJMaTc-8I-z6_tkoj_Qyi4UF1KtYBfcz4s2Ly33jmw&m=TBTQOquRJlUbeau8Y-mNeke5ryHHST54fvINMoBrJQ8&s=W2CnISWBvJ76SZsl5R4Ax2OSQFFqQpNFnUJm_OgaMv4&e=" target="_blank">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a><u></u><u></u></p>
</blockquote>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal">-- <u></u><u></u></p>
<div>
<p class="MsoNormal">Nathan Stevens<br>
Programmer/Analyst<br>
Digital Library Technology Services<br>
New York University<br>
<br>
<a href="tel:1212-998-2653" target="_blank">1212-998-2653</a><br>
<a href="mailto:ns96@nyu.edu" target="_blank">ns96@nyu.edu</a><u></u><u></u></p>
</div>
</div>
<p class="MsoNormal">_______________________________________________<br>
Archivesspace_Users_Group mailing list<br>
<a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" target="_blank">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br>
<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__lyralists.lyrasis.org_mailman_listinfo_archivesspace-5Fusers-5Fgroup&d=AwMGaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=jGJMaTc-8I-z6_tkoj_Qyi4UF1KtYBfcz4s2Ly33jmw&m=LEmdzvV0wNyF-evLwMakwMfGz60QpmOsvnXyJQlOBAo&s=slVM0v45CSXJi3hazlJ7kPGixKEN90thdj563Xalviw&e=" target="_blank">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a><u></u><u></u></p>
</blockquote>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_______________________________________________<br>
Archivesspace_Users_Group mailing list<br>
<a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" target="_blank">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br>
<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__lyralists.lyrasis.org_mailman_listinfo_archivesspace-5Fusers-5Fgroup&d=AwMGaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=jGJMaTc-8I-z6_tkoj_Qyi4UF1KtYBfcz4s2Ly33jmw&m=LEmdzvV0wNyF-evLwMakwMfGz60QpmOsvnXyJQlOBAo&s=slVM0v45CSXJi3hazlJ7kPGixKEN90thdj563Xalviw&e=" target="_blank">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a><u></u><u></u></p>
</blockquote>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal">-- <u></u><u></u></p>
<div>
<p class="MsoNormal">Nathan Stevens<br>
Programmer/Analyst<br>
Digital Library Technology Services<br>
New York University<br>
<br>
<a href="tel:1212-998-2653" value="+12129982653" target="_blank">1212-998-2653</a><br>
<a href="mailto:ns96@nyu.edu" target="_blank">ns96@nyu.edu</a><u></u><u></u></p>
</div>
</div>
</div>
</div>
</div></div><span><Untitled.jpg></span>_______________________________________________<span class=""><br>
Archivesspace_Users_Group mailing list<br>
<a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" target="_blank">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br>
<a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" target="_blank">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a><br>
</span></blockquote>
</div>
<br>
</div>
</div>
<br>_______________________________________________<br>
Archivesspace_Users_Group mailing list<br>
<a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br>
<a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" rel="noreferrer" target="_blank">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Nathan Stevens<br>Programmer/Analyst<br>Digital Library Technology Services<br>New York University<br><br>1212-998-2653<br><a href="mailto:ns96@nyu.edu" target="_blank">ns96@nyu.edu</a></div>
</div>