[Archivesspace_Users_Group] Add a static web page to ArchivesSpace PUI?

Peter Heiner ph448 at cam.ac.uk
Tue Sep 21 11:19:12 EDT 2021


Hi all,

While this will probably solve Amy's problem, it may not be a good idea for a busy site to use the whole RoR stack to do this.
It would probably be better to use Middlemanto generate static pages using the AS partials and serve them using Apache or similar.

p
________________________________
From: archivesspace_users_group-bounces at lyralists.lyrasis.org <archivesspace_users_group-bounces at lyralists.lyrasis.org> on behalf of Kara Hart <kstrosch at wellesley.edu>
Sent: 21 September 2021 16:07
To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org>; Amy Winter <amywinter at unm.edu>
Subject: Re: [Archivesspace_Users_Group] Add a static web page to ArchivesSpace PUI?

Hi Amy, I still have a copy of the original I can share with you.

Kara

~~~~~ Kara S. Hart

Systems Librarian - Library & Technology Services
-
Wellesley College


On Mon, Sep 20, 2021 at 6:13 PM Amy Winter <amywinter at unm.edu<mailto:amywinter at unm.edu>> wrote:

Does anyone know where I could get a copy of the plugin/template to add a static page, referred to in the 2019 post from James, below.  The repo is gone and not in the Wayback Machine either:  https://github.com/hudmol/static_pages



I can’t find any other reference to this in the list archives or on Google.



Thanks for any help,



Amy E. Winter

Library Information Technology

University of New Mexico

505.277.1233





[Archivesspace_Users_Group] Add a static web page to ArchivesSpace PUI?

James Bullen james at hudmol.com <mailto:archivesspace_users_group%40lyralists.lyrasis.org?Subject=Re%3A%20%5BArchivesspace_Users_Group%5D%20Add%20a%20static%20web%20page%20to%0A%20ArchivesSpace%20PUI%3F&In-Reply-To=%3C179E90E2-E4C7-40C4-8D7A-40DFBE49ACE3%40hudmol.com%3E>
Mon Oct 28 18:02:16 EDT 2019

  *   Previous message: [Archivesspace_Users_Group] Add a static web page to ArchivesSpace PUI? <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/2019-October/007046.html>
  *   Next message: [Archivesspace_Users_Group] Add a static web page to ArchivesSpace PUI? <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/2019-October/007048.html>
  *   Messages sorted by: [ date ]<http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/2019-October/date.html#7047> [ thread ]<http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/2019-October/thread.html#7047> [ subject ]<http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/2019-October/subject.html#7047> [ author ]<http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/2019-October/author.html#7047>

________________________________

Hi Kara,



This seemed like a useful thing that I don’t think exists yet, so I made a plugin to do it:



https://github.com/hudmol/static_pages <https://github.com/hudmol/static_pages>



Maybe it can be a useful starting point.





Cheers,

James







> On Oct 28, 2019, at 3:52 PM, Kara Hart <kstrosch at wellesley.edu<http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group>> wrote:

>

> Hi all,

> I want to be able to add static web pages to ArchivesSpace.  I'd like to incorporate the header, top nav, and footer and be able to just add what I want in the middle.  I'm basically hoping to create general FAQ, search help, about pages that live in my ArchivesSpace local plugin.  Is this possible?

>

> I did find a way to add a page by putting a .html doc into /archivesspace/plugins/local/public/assets, but I have to manually copy in the head, navigation, header, and footer, which is obviously not ideal for updating and probably other reasons.

>

> If there isn't a way to do this, where is the proper place to suggest this enhancement?  Should I create a new feature request in Jira the project ANW? (https://archivesspace.atlassian.net/projects/ANW/issues/?filter=allissues&= <https://archivesspace.atlassian.net/projects/ANW/issues/?filter=allissues&=>)

>

> Thanks for any help,

> Kara

>

>

> ~~~ Kara S. Hart

> Systems Librarian - Library & Technology Services - Wellesley College

>

>

> !DSPAM:5db7471d288581084719066! _______________________________________________

> Archivesspace_Users_Group mailing list

> Archivesspace_Users_Group at lyralists.lyrasis.org<http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group>

> http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group

>

>

> !DSPAM:5db7471d288581084719066!



_______________________________________________
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/20210921/a08029b3/attachment-0001.html>


More information about the Archivesspace_Users_Group mailing list