This repository has been archived by the owner on May 2, 2018. It is now read-only.
Use the Drupal services module to enable editing articles etc. from Emacs, remote shell command, or even just local shell command for now... #416
Labels
Milestone
See: https://drupal.org/project/services and http://arxana.net for the most advanced idea, for a simple idea, here's an example application for something we could do server side (from @rspuzio).
Basic outline
Use case
I have been slicing and dicing the book the last few days. You can see this for yourself since I moved the process to the linode:
/home/shared-folder/HoTT-book
While I was at it, based on the workflow, a way of organizing mass access to the PM database occurred to me. For every article, there would be three files:
my-article.body
The TeX source for the body of the article.my-article.pre
Its TeX preamble.my-article.meta
The metadata as a simple table, such as the following:There would be a program upload-article which would take these three files and the canonical name of an existing PM article as arguments and upload them to the database, a command new-article which would take the three files as arguments and return the canonical name of the new entry it created, and download-article, which would take a file root and a canonical name as argumewnts and return the contents of an article as three files.
I am guessing it sould be possibile to write these three utilities as shell scripts using Drush. They could then be called from other scripts to perform all sorts of mass operations like uploading a book or working on FEM.
The text was updated successfully, but these errors were encountered: