easy_pages

Create rich HTML pages easily.

https://github.com/eprints/easy_pages

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (8.2%) to scientific vocabulary

Keywords

ingredient
Last synced: 6 months ago · JSON representation ·

Repository

Create rich HTML pages easily.

Basic Info
  • Host: GitHub
  • Owner: eprints
  • Language: Perl
  • Default Branch: main
  • Homepage:
  • Size: 83 KB
Statistics
  • Stars: 0
  • Watchers: 5
  • Forks: 3
  • Open Issues: 3
  • Releases: 0
Topics
ingredient
Created over 4 years ago · Last pushed 8 months ago
Metadata Files
Readme Citation

README.md

Easy Pages

The 'easy_pages' ingredient is designed to extend EPrints 3.4 by adding a new 'page' dataset.\ The page dataobjects can be used to create HTML pages, as an alternative to creating XHTML and xpage files directly.\ Page content is entered via the rich text editor, TinyMCE, as supplied by the richtext ingredient.

Pages can be managed via Manage records -> Page. This is limited to Admin users only.\ All created pages are public. A list of pages can be accessed via /pages.html

In order to recreate the standard pages in easy pages, run the following bin script.\ easy_pages/bin/create_standard_pages

If pages are created with the path set as information, contact or policies then the standard xpage versions of these pages will redirect to the easy page version automatically.

Page Includes

Easy pages can be included in xpage templates using the following ajax call.

html <div id="pages_home"></div> <script type="text/javascript"> fetch('/page/home?mainonly=yes').then((res) => { res.text().then((text) => { document.getElementById('pages_home').innerHTML = text; }); }); </script>

  • The home script will be added as part of the createstandardpages script, but will only be included if the call above has been included. Follow this pattern to add page fragments fed by other pages.

Authors:

  • Justin Bradley, EPrints Services
  • Edward Oakley, EPrints Services

EPrints 3.4 is supplied by EPrints Services.\ The files contained within this directory are all Copyright 2023 University of Southampton.

Owner

  • Name: EPrints.org
  • Login: eprints
  • Kind: organization
  • Location: University of Southampton, UK

EPrints Repository Software

Citation (citations/page/brief.xml)

<?xml version="1.0" ?>
<cite:citation xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns="http://eprints.org/ep3/control" xmlns:cite="http://eprints.org/ep3/citation" >
<if test="path"><print expr="path"/></if>
</cite:citation>

GitHub Events

Total
  • Issues event: 2
  • Member event: 1
  • Issue comment event: 4
  • Push event: 6
  • Pull request review comment event: 5
  • Pull request review event: 8
  • Pull request event: 3
  • Fork event: 1
  • Create event: 2
Last Year
  • Issues event: 2
  • Member event: 1
  • Issue comment event: 4
  • Push event: 6
  • Pull request review comment event: 5
  • Pull request review event: 8
  • Pull request event: 3
  • Fork event: 1
  • Create event: 2