[Archivesspace_Users_Group] [i] still there?

Nathan Stevens ns96 at nyu.edu
Thu Jun 18 07:59:43 EDT 2015


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.

On Wed, Jun 17, 2015 at 3:08 PM, Prom, Christopher John <prom at illinois.edu>
wrote:

>  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>
> 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
> <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> 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> 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> 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
>
> P: 618/453-2225
>
> F: 618/453-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
> 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
>
> _______________________________________________
> Archivesspace_Users_Group mailing list
> 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
> 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
>   <Untitled.jpg>_______________________________________________
> Archivesspace_Users_Group mailing list
> Archivesspace_Users_Group at lyralists.lyrasis.org
> http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group
>
>
>
> _______________________________________________
> Archivesspace_Users_Group mailing list
> Archivesspace_Users_Group at lyralists.lyrasis.org
> http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group
>
>


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

1212-998-2653
ns96 at nyu.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20150618/445ee7e5/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: siu_ss03.png
Type: image/png
Size: 365448 bytes
Desc: not available
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20150618/445ee7e5/attachment.png>


More information about the Archivesspace_Users_Group mailing list