[Archivesspace_Users_Group] [i] still there?

Prom, Christopher John prom at illinois.edu
Wed Jun 17 15:08:44 EDT 2015


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.

Chris

On Jun 17, 2015, at 10:36 AM, Matthew J Gorzalski <mGorzalski at lib.siu.edu<mailto:mGorzalski at lib.siu.edu>> wrote:

Nathan and Chris,

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?

And what Chris describes, is that code that should be input in the migration tool or our Archon?

Thanks,

From: archivesspace_users_group-bounces at lyralists.lyrasis.org<mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org> [mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org] On Behalf Of Nathan Stevens
Sent: Wednesday, June 17, 2015 10:28 AM
To: Archivesspace Users Group
Subject: Re: [Archivesspace_Users_Group] [i] still there?

Ok I will give this a try and report on the results

On Wed, Jun 17, 2015 at 11:07 AM, Prom, Christopher John <prom at illinois.edu<mailto:prom at illinois.edu>> wrote:
Matt and Nathan,

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:

On line 46 of the file packages/core/templates/default/coll-contentlist.inc.php, substitute the following code for what is there.

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.

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.

Chris Prom


On Jun 17, 2015, at 9:48 AM, Nathan Stevens <ns96 at nyu.edu<mailto:ns96 at nyu.edu>> wrote:


This is not a bug, but rather has to do with how the information was entered into archon in the first place. To fix, a find-replace on all records with will need to done changing [i] into <i> and [/i] into </i>, directly on the backend data.


On Tue, Jun 16, 2015 at 2:19 PM, Matthew J Gorzalski <mGorzalski at lib.siu.edu<mailto:mGorzalski at lib.siu.edu>> wrote:
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.

MATT GORZALSKI
University Archivist

MORRIS LIBRARY
MAIL CODE 6632
SOUTHERN ILLINOIS UNIVERSITY
605 AGRICULTURE DR
CARBONDALE, IL 62901

mgorzalski at lib.siu.edu<mailto:mgorzalski at lib.siu.edu>
P: 618/453-2225<tel:618%2F453-2225>
F: 618/453-3440<tel:618%2F453-3440>
lib.siu.edu<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=>


_______________________________________________
Archivesspace_Users_Group mailing list
Archivesspace_Users_Group at lyralists.lyrasis.org<mailto:Archivesspace_Users_Group at lyralists.lyrasis.org>
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group<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=>



--
Nathan Stevens
Programmer/Analyst
Digital Library Technology Services
New York University

1212-998-2653<tel:1212-998-2653>
ns96 at nyu.edu<mailto:ns96 at nyu.edu>
_______________________________________________
Archivesspace_Users_Group mailing list
Archivesspace_Users_Group at lyralists.lyrasis.org<mailto:Archivesspace_Users_Group at lyralists.lyrasis.org>
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group<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=>


_______________________________________________
Archivesspace_Users_Group mailing list
Archivesspace_Users_Group at lyralists.lyrasis.org<mailto:Archivesspace_Users_Group at lyralists.lyrasis.org>
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group<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=>



--
Nathan Stevens
Programmer/Analyst
Digital Library Technology Services
New York University

1212-998-2653
ns96 at nyu.edu<mailto:ns96 at nyu.edu>
<Untitled.jpg>_______________________________________________
Archivesspace_Users_Group mailing list
Archivesspace_Users_Group at lyralists.lyrasis.org<mailto:Archivesspace_Users_Group at lyralists.lyrasis.org>
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20150617/d0233167/attachment.html>


More information about the Archivesspace_Users_Group mailing list