[Archivesspace_Users_Group] [i] still there?

Prom, Christopher John prom at illinois.edu
Wed Jun 17 11:07:34 EDT 2015


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
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

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


More information about the Archivesspace_Users_Group mailing list