Download the PHP package gtsciences/hg_reader without Composer

On this page you can find all versions of the php package gtsciences/hg_reader. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package hg_reader

Welcome to version 3.x of the Drupal 9 edition of Mercury Reader. Please report issues in GitHub.

INSTALLATION

If you used the gt_installer you will already have the module and it will already be enabled.

CONFIGURATION

Extreme caveat: hg_reader looks for a text format named basic_html and uses that as its default. If you don't have such a format, it will use plain text, which is not good unless you like to see your pages decorated with HTML tags. Before you make any importers, go to admin/config/hg-reader/settings and select a text format. A future version of the module will create -- if the user approves -- a default text format upon installation.

The other fields on the configuration page are mostly useful for development. You can stick with the defaults.

USAGE

Once the reader is installed and configured, you'll need to make an IMPORTER. For folks that have used the Feeds module, hg_reader works a lot like that, except there's no field assignments required -- it's all in the module. For folks that think Feeds is something you give to cows, here's how hg_reader works:

1) You create an Importer; You supply it with the ID of a Mercury feed. 2) hg_reader periodically checks the feed for content, creates appropriate pages on your system -- e.g. events, news, etc.

Easy peasy.

Content types for each Mercury type are provided by default, and can be modified like any other content type (though if you delete fields to which hg_reader is mapping information, you'll be in a world of hurt). In practice, this means you can create your own fields and taxonomies if you have something special you want to do with the content once it's on your site. Also provided by default: news and events pages (and blocks), located at /hg/events and /hg/news respectively. These too can be modified -- they are produced by Views, so you can do with them what you would do with any view. Furthermore, you can make your own views, slicing and dicing content as you see fit.

Everything in hg_reader is node-based, so all node-based facilities pertain. You can integrate with Pathauto, Rules, whatever. Go nuts.

THEMING

Since the output of this module is all nodes and pages and blocks, theming boils down to what you'd be doing if you weren't using hg_reader, so no biggie. Note that the module includes a stylesheet. It's a bare-bones stylesheet, aimed solely at preventing a trainwreck. It works best with the GT theme.

BUGS

Should you encounter a bug, go to https://github.gatech.edu/ICWebTeam/hg_reader/issues and give us the details.

CODA

Kudos may be expressed in the form of beer. Criticism may be expressed in the form of silent meditation.


All versions of hg_reader with dependencies

PHP Build Version
Package Version
Requires drupal/field_group Version ^4.0@dev
drupal/metatag Version ^2.1
drupal/pathauto Version ^1.13
drupal/twig_field_value Version ^2.0
drupal/twig_tweak Version ^3.4
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package gtsciences/hg_reader contains the following files

Loading the files please wait ...