App::Zapzi::Articles - routines to access Zapzi articles
These routines allow access to Zapzi articles via the database.
Returns a resultset of articles that are in
Returns the resultset for the article identified by
Return a summary of articles in
folder as a list of articles,
each item being a hash ref with keys id,
text and title.
Adds a new article.
args is a hash that must contain
title- title of the article
source- source, eg file or URL, of the article
folder- name of the folder to store it in
text- text of the article
The routine will croak if the wrong args are provided, if the folder does not exist or if the article can't be created in the database.
Move the given article to folder
Will croak if the folder or article does not exist.
id if it exists.
Returns the DB result status for the deletion.
Returns the text of article
id if it exists,
Text will be wrapped in a HTML header so it can be viewed separately.
Rupert Lane <email@example.com>
This software is copyright (c) 2015 by Rupert Lane.