Coder Social home page Coder Social logo

chnm / anthologize Goto Github PK

View Code? Open in Web Editor NEW
174.0 174.0 29.0 35.23 MB

Anthologize is a free, open-source, WordPress-based platform for publishing. Grab posts from your WordPress blog, pull in feeds from external sites, or create new content directly in Anthologize. Then outline, order, and edit your work, crafting it into a coherent volume for export in several formats, including PDF, EPUB, and TEI.

Home Page: http://anthologize.org

License: GNU General Public License v3.0

PHP 98.55% CSS 0.08% JavaScript 0.75% Shell 0.03% XSLT 0.37% HTML 0.01% Batchfile 0.21%

anthologize's People

Contributors

boonebgorges avatar cazzerson avatar patrickmj avatar patrickrashleigh avatar r-a-y avatar rshanrath avatar tekapo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

anthologize's Issues

'How to populate parts' text cue

Imported from Trac ticket #86 reported by rshanrath on 2010-10-13:

Give users an idea of how to add items to a part by adding some help text in the white space beneath empty parts. Something like:

'Populate this Part by dragging posts from the Posts column. Drag the Posts header to add multiple posts at a time.'

Incorrect formatting in RTF export

Imported from Trac ticket #25 reported by sramsay on 2010-08-07:

The RTF export doesn't seem to format paragraphs or to create any typographical distinction for section titles. It also doesn't seem to import images.

We should probably bring this in line with ePub and PDF for 0.5 (or remove until these issues are resolved).

simplify the $ops to TeiDom

Imported from Trac ticket #93 reported by patrickmj on 2010-10-14:

the options are probably overly complicated, overlapping, and generally confusing

Don't show 'Tags' text, etc, when there is none

From a user report:
"Export to HTML shows the text "Tags" (even there are no tags), text "Categories" (even if there is no one), text "Dedication" (even there is no), text "Acknowledgements" (even there are no)"

These labels should be hidden if there's nothing to show.

Inconsisten return types in TEI API

Imported from Trac ticket #101 reported by patrickmj on 2010-11-02:

Some methods have no option to return a node. some return TEI parent node, some the HTML content node

Other plugins fire when projects, posts, etc are saved

Imported from Trac ticket #12 reported by boonebgorges on 2010-08-04:

Lots of plugins hook to save_post and publish_post (eg auto-tweeters) and should not be run when Anthologize parts/items/projects are created and published.

figure out a way to index the functions being hooked, and unset them for our post types.

LaTeX output

Imported from Trac ticket #24 reported by sramsay on 2010-08-07:

Should output straight LaTeX code for offline processing to dvi/ps/pdf

Test 0.5 in other environments

Imported from Trac ticket #87 reported by patrickmj on 2010-10-13:

Need to test the current code in a variety of environments before 0.5-alpha release

Handle comments from locally produced content

Imported from Trac ticket #16 reported by boonebgorges on 2010-08-04:

Posting as a separate ticket from feed content, which will be a whole other bag of worms

Getting comments is pretty easy; the question is how to present them in the UI and in the output.

UI: Maybe on the project organizer, items have a 'use comments' toggle. But does it have to be more fine grained than that? Maybe 'show comments' (in the ui) and then user can select which ones to display in the final version

TEI: Patrick, it'll be a fairly simple process to add comments to the queries you're using to get content out of WP

Outputs: How to display them? As footnotes? Endnotes? Sidebar? (Endnotes seem the most true to the blog format, and are probably the easiest to handle?)

Refactor feed import

Imported from Trac ticket #45 reported by boonebgorges on 2010-08-19:

During One Week | One Tool I got frustrated and ran out of time regarding the feed importer; I couldn't pass along the data in the $_SESSION variable correctly, so I ended up settling for a hack where I pull in the data twice. Figure out a way to make it work the right way.

clean up TCPDF library bundle

The TCPDF directory inside the distribution contains 15+ MB of files, including test output and images. Please review and remove all but necessary items so that install package can be smaller.

Returning to All Posts Filter does not clear filter list

Imported from Trac ticket #120 reported by rshanrath on 2011-06-04:

Selecting All Posts after previous filters does not clear the #filter list (e.g., filter by Category, then choose All Posts; categories remain in filter list).

Create Anthologize-specific language switcher

Imported from Trac ticket #1 reported by boonebgorges on 2010-08-02:

The strings of Anthologize are (for the most part) localizable as per WP localization settings (ie with WPLANG or with the dropdown on Settings > General). However, for future extensibility reasons, it would be nice to allow people to load different language packs for discipline specific stuff, changing 'project' to 'book' and so on, with a toggle within Anthologize itself.

parts not sorting by date in FF

Imported from Trac ticket #96 reported by patrickmj on 2010-10-20:

the POSTS remain in newest to oldest sort order when filtering by date.

Use TEI's ids to assign ids in toc.ncx

Imported from Trac ticket #100 reported by patrickmj on 2010-10-28:

the tei document now adds ids to parts and library items, in the form:

$section-$partNumber
and
$section-$partNumber-$itemNumber

this would make the ids consistent

Create toggles for "Anthologized by", etc

From a user report:
"- "Anthologized by: xxx" is shown -> you should give your users a change to not show this

  • "By xyz" -> no way to hide this
  • "Attributed to: xyz" -> no way to hide this"

I'm tempted to say that this should be theme dependent, but if anyone does feel like patching this together (probably as optional toggles, registered with anthologize_register_format_option()), it might be worth including.

Margin adjustment in PDF

Imported from Trac ticket #27 reported by sramsay on 2010-08-07:

PDF allows fine-grained control over margins (and, in fact, can manipulate gutters in points, millimeters, centimeters, or inches).

Ideally, I'd like to figure out a way to set the default margins based on the character width of the text block (in accord with standard typographical practice in book publishing). But at the very least, the user should be able to set these parameters.

apply_filters( 'init' ) is killing output

Imported from Trac ticket #119 reported by boonebgorges on 2011-03-12:

Hey Patrick -

On the latest revs of the 0.5 branch, I'm finding that I can't output anything (I get white screens, with - strangely - nothing in my error log). I traced it to
https://github.com/chnm/anthologize/blob/0.5-branch/includes/class-tei-dom.php#L32
as applied in
f1c6272

I don't think this is a syntactically correct use of apply_filters() http://codex.wordpress.org/Function_Reference/apply_filters What are you trying to do here? Are you trying to get some portion of WP to load? Or some subset of WP's default filters to be applied?

FWIW, you might not have seen this on your own installation because you aren't running any other plugins. Lots of things hook to 'init', so in a real life situation there could be conflicts.

EPUB in i2Reader jumps back to 1st page with Bava export

Imported from Trac ticket #2 reported by patrickmj on 2010-08-03:

Export of bavatuesdays.com to epub shows fine in calibre, but i2reader on iPad cycles back to start after a few pages. Not sure if it is issue with content from bava or in the xml

Uninstall button and routine

Imported from Trac ticket #35 reported by boonebgorges on 2010-08-10:

Though I can't imagine who would ever want to uninstall Anthologize.

Delete settings; optionally remove content from DB?

Add filter for custom post types

Imported from Trac ticket #105 reported by patrickmj on 2010-11-07:

message on the dev list asked about adding custom post types. Boone, with usual aplomb, put the code in the repo.

I figure it'd make sense to add a filter on post types similar to the tags and categories for selecting posts.

DAISY format

Imported from Trac ticket #36 reported by sramsay on 2010-08-11:

A user mentioned DAISY output. This is an XML format for digital "talking books" used by people who have difficulty reading printed text.

I think it would be great to make accessibility a priority for Anthologize, and I'd like to see it happen for 1.0.

For more on DAISY, see [http://en.wikipedia.org/wiki/DAISY_Digital_Talking_Book]

Investigate FeedWordPress integration

Imported from Trac ticket #44 reported by boonebgorges on 2010-08-19:

FeedWordPress should already integrate pretty well with Anthologize - especially if you use FWP to apply a particular tag or category to all incoming items. Maybe this can be documented a bit better?

Subjects and keywords in PDF

Imported from Trac ticket #26 reported by sramsay on 2010-08-07:

PDF documents usually have document-level metadata associated with them (which the user can get at by selecting options like File->Properties in the standard viewers).

Right now, I'm setting the creator to "Anthologize: A One Week | One Tool Production," and author and title to the appropriate fields from the TEI.

Can we give the user the option to set the subject field (usually a string) and a set of keywords? These can be useful with applications like Yep!, Papers, Mendeley, (Zotero?), etc.

Support for versioning

Imported from Trac ticket #39 reported by boonebgorges on 2010-08-11:

The approach discussed during One Week | One Tool was to have a button available on project screens that, when clicked, will copy the entire project to a separate (read-only?) project. That part is easy; we just need a good interface for it.

Import Twitter streams using API

Imported from Trac ticket #43 reported by boonebgorges on 2010-08-19:

Right now it's possible to pull in a Twitter stream via RSS, but that's not ideal. Look for a way to pull in Twitter stuff via the API. There might already be WordPress plugins that do this job; how to tie in?

Deregistration functions

Imported from Trac ticket #55 reported by boonebgorges on 2010-08-20:

Should probably have parallel deregistration functions for formats and their options. Not crucial (could just pass in null values to do essentially the same thing).

Wordpress Gallery support?

Does Anthologize has any support for processing Wordpress gallery pics you have in an article? I would like to include all my gallery pics in the output, but for now it only contains single pictures I added.

Select parts/items to export

Imported from Trac ticket #114 reported by boonebgorges on 2011-01-03:

Might be nice to allow users to select the parts/sections they'd like to include in a given export. Would need a couple things:

  1. a page during the export process with a project outline and checkmarks for each one, along with some js for check all/uncheck all on part- and project-wide basis
  2. An additional piece of structured data passed through the session to the TEI builder, containing information about which items to include in the export.

We should try to make this simple, so as not to reproduce functionality that belongs on the project organizer screen. Any screens added to export should be quick and dirty, for getting around PHP memory problems and stuff like that. Maybe we could enforce simplicity by only allowing selection/deselection on a part-by-part basis.

Choke on   in some output

Imported from Trac ticket #3 reported by patrickmj on 2010-08-03:

Bad chars coming from ย  (possibly other entities?) in outputs(possibly others). Need to convert these, and test whether it should convert for all output formats.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.