One of the most time consuming and annoying parts of editing the journal is getting things into HTML and editing the HTML without WordPress messing it up, etc.
Lately I've been using various "mostly plaintext but with conventions that can be formatted into html" formats, such as [markdown](http://daringfireball.net/projects/markdown/syntax), [textile](http://daringfireball.net/projects/markdown/syntax), and a few others. They are SO much easier to use. markdown is the most popular.
There are some markdown plugins for WP.
* What if we required authors to submit in markdown (basically plaintext with some pretty easy to remember conventions for indicating headers, lists, links, embedded images, etc)
* Then we just entered the markdown in WordPress
* Profit!
## Disadvantages
* We wouldn't be able to use fancy custom HTML anymore. This has some pro's in enforcing consistency, but also some obvious cons.
* We'd probably have to give up on the COinS, which I think would actually be fine. Some years on, COinS has not really caught on, I'm not sure it provides a benefit commensurate to the effort it takes us, and we usually don't manage to do it right anyway. Few of our articles include links to non-open-access literature anyway.
* On the other hand, we can't give up code syntax highlighting. Not sure if WP markdown plugins would play nice with the syntax highlighter plugin, but they might.
* We'd have to figure out how to conveniently do notes/references too, especially for articles that want the (Smith 2000) style to be most readable.
* Not sure how we'd get things like our formatted captions on figures to work right, or center-aligned figures, etc.
So there'd be some challenges. But I suspect they could be overcome. And I think it would make our jobs so much easier, take out the most annoying and least rewarding thing editors spend time on. And, hey, forcing the limitation to the subset of HTML that markdown can represent would make an article-to-PDF converter a lot easier too.
## Note
This email is, as you may have guessed, in markdown.
--
You received this message because you are subscribed to the Google Groups "Code4Lib Journal-discuss" group.
To post to this group, send email to c4lj-d...@googlegroups.com.
To unsubscribe from this group, send email to c4lj-discuss...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/c4lj-discuss?hl=en.
I wonder if there's a WordPress plugin that puts your posts in a code versioning system of some kind and lets you look at histories/diffs? Maybe that'd be the solution there -- which WOULD work better with markdown. With HTML, you're likely to get a lot of diffs that are just fixes to HTML syntax and structure and formatting rather than actual content.
Markdown (or textile) are SO easy to use, that I personally don't see a problem with requiring authors to use it. We are a technical journal after all. (It looks like there may be some textile WP plugins too, so it could be textile instead of markdown. Depends on if ANY of these plugins, textile or markdown, are stable, mature, and flexible/powerful enough for our use, which I'm not sure).
But I'm not looking for any immediate action on this, it's really just food for thought. I'd like to come up with SOME better way of handling our workflow. (While still being focused on HTML as our primary delivery, not PDF. When I think 'troubles with workflow', I think , gee, let's see what OJS does -- but they seem to punt on HTML entry/editing workflow problems, instead focusing on PDFs as the primary delivery. Which is not where any of us want to go.)
________________________________
From: c4lj-d...@googlegroups.com [c4lj-d...@googlegroups.com] on behalf of Tom Keays [tomk...@gmail.com]
Sent: Thursday, July 21, 2011 9:52 PM
To: c4lj-d...@googlegroups.com
Subject: Re: [c4lj] markdown?
Markdown was one of the first text syntaxes I used (in a Moveable Type blog I had 8 or so years ago) and it is still a fine markup language. I think it _can_ coexist with raw HTML (at least my Moveable Type blog could, through a post-specific setting), but probably not with the WYSIWYG editor. Something to keep in mind.
Barring technical complications, however, one concern might be people's comfort level using the markup syntax approach. That seems to be the crux of people's resistance to using wikis. How much of a problem will editors find it to convert a formatted word processing document to Markdown?
Another concern is the ability to track changes. One of the articles I edited this year was originally submitted in a text markup syntax (Textile, I think). I eventually converted it to Word and coordinated further edits with the authors that way. If we had a way to track changes and share them with the authors using Wordpress, that would have addressed that problem very nicely. This is true regardless of whether we decide to go with Markdown or not. Our current editing paradigm is not to enter the article into Wordpress until most of the changes have been made, which mitigates the problem somewhat.
These are devil's advocate objections though. If others like the idea, we should definitely explore it.
Tom
On Thu, Jul 21, 2011 at 8:19 PM, Jonathan Rochkind <roch...@jhu.edu<mailto:roch...@jhu.edu>> wrote:
I just had a crazy idea, put it out there for discussion, certainly not expecting any immediate action, even if people like it we'll want to stew on it for a while.
One of the most time consuming and annoying parts of editing the journal is getting things into HTML and editing the HTML without WordPress messing it up, etc.
Lately I've been using various "mostly plaintext but with conventions that can be formatted into html" formats, such as [markdown](http://daringfireball.net/projects/markdown/syntax), [textile](http://daringfireball.net/projects/markdown/syntax), and a few others. They are SO much easier to use. markdown is the most popular.
There are some markdown plugins for WP.
* What if we required authors to submit in markdown (basically plaintext with some pretty easy to remember conventions for indicating headers, lists, links, embedded images, etc)
* Then we just entered the markdown in WordPress
* Profit!
## Disadvantages
* We wouldn't be able to use fancy custom HTML anymore. This has some pro's in enforcing consistency, but also some obvious cons.
* We'd probably have to give up on the COinS, which I think would actually be fine. Some years on, COinS has not really caught on, I'm not sure it provides a benefit commensurate to the effort it takes us, and we usually don't manage to do it right anyway. Few of our articles include links to non-open-access literature anyway.
* On the other hand, we can't give up code syntax highlighting. Not sure if WP markdown plugins would play nice with the syntax highlighter plugin, but they might.
* We'd have to figure out how to conveniently do notes/references too, especially for articles that want the (Smith 2000) style to be most readable.
* Not sure how we'd get things like our formatted captions on figures to work right, or center-aligned figures, etc.
So there'd be some challenges. But I suspect they could be overcome. And I think it would make our jobs so much easier, take out the most annoying and least rewarding thing editors spend time on. And, hey, forcing the limitation to the subset of HTML that markdown can represent would make an article-to-PDF converter a lot easier too.
## Note
This email is, as you may have guessed, in markdown.
--
You received this message because you are subscribed to the Google Groups "Code4Lib Journal-discuss" group.
To post to this group, send email to c4lj-d...@googlegroups.com<mailto:c4lj-d...@googlegroups.com>.
To unsubscribe from this group, send email to c4lj-discuss...@googlegroups.com<mailto:c4lj-discuss%2Bunsu...@googlegroups.com>.
Kelley
Yeah, track changes, I dunno. I don't like our current 'solution' for track changes, passing around Word documents, but don't know of a better solution, markdown or not. (And we don't require authors to submit in Word or be able to open a Word file now, in fact).
Tom
Well, even if we allow authors to submit however they want, I suppose we could copy and paste as PLAIN TEXT (rather than HTML) and apply markdown/textile ourselves, which I think would still be a lot less annoying work than trying to get it entered in into WP in HTML
Tom
--
Kelley
The article I edited for issue 13 (From ISIS to CouchDB) was handled
in a DVCS (Mercurial, hosted at bitbucket.org, because that's where
Luciano had it set up). I must say, it made for a great workflow that
I would love to repeat. Not all authors would be comfortable working
in version control, and I appreciate our flexibility in handling
whatever the author brings to us, but my ideal would be Markdown
articles in a Git repo. Could we at least encourage that somehow?
I think we just handled larger editorial suggestions via email, though
I could see using issues or commit comments for that purpose. That's
assuming the use of Github -- we could use another ticketing/issue
system as well.
> It would be useful to see this repository if it's public, to get ideas.
https://bitbucket.org/gsf/papers
On Sun, Jul 24, 2011 at 11:06 AM, Jodi Schneider <jschn...@pobox.com> wrote:I think we just handled larger editorial suggestions via email, though
> That's really interesting, Gabe. How did you handle comments and
> suggestions?
I could see using issues or commit comments for that purpose. That's
assuming the use of Github -- we could use another ticketing/issue
system as well.
https://bitbucket.org/gsf/papers
> It would be useful to see this repository if it's public, to get ideas.
I'm not sure if there's a free/cheap revision control system that also has a good web interface including editing text in a browser. Otherwise it's an interesting idea. I haven't looked at Mecurial/bitbucket, but Github gives you an in browser 'edit' button (just an HTML text box, no graphical wysiwyg or anything), and also renders markdown (or textile, or a couple others) after you save, in the browser. You wouldn't even have to know you were using a revision control system. But it'd be public.
________________________________
From: c4lj-d...@googlegroups.com [c4lj-d...@googlegroups.com] on behalf of Jodi Schneider [jschn...@pobox.com]
Sent: Sunday, July 24, 2011 2:33 PM
To: c4lj-d...@googlegroups.com
Subject: Re: [c4lj] markdown?
On Sun, Jul 24, 2011 at 6:06 PM, Gabriel Farrell <gsf...@gmail.com<mailto:gsf...@gmail.com>> wrote:
On Sun, Jul 24, 2011 at 11:06 AM, Jodi Schneider <jschn...@pobox.com<mailto:jschn...@pobox.com>> wrote:
> That's really interesting, Gabe. How did you handle comments and
> suggestions?
I think we just handled larger editorial suggestions via email, though
I could see using issues or commit comments for that purpose. That's
assuming the use of Github -- we could use another ticketing/issue
system as well.
> It would be useful to see this repository if it's public, to get ideas.
https://bitbucket.org/gsf/papers
Thanks!
> -Jodi
>
> On Sun, Jul 24, 2011 at 3:37 PM, Gabriel Farrell <gsf...@gmail.com<mailto:gsf...@gmail.com>> wrote:
>>
>> On Fri, Jul 22, 2011 at 11:34 AM, Jonathan Rochkind <roch...@jhu.edu<mailto:roch...@jhu.edu>>
>> wrote:
>> > Yeah, track changes, I dunno. I don't like our current 'solution' for
>> > track changes, passing around Word documents, but don't know of a better
>> > solution, markdown or not. (And we don't require authors to submit in Word
>> > or be able to open a Word file now, in fact).
>> >
>> > I wonder if there's a WordPress plugin that puts your posts in a code
>> > versioning system of some kind and lets you look at histories/diffs? Maybe
>> > that'd be the solution there -- which WOULD work better with markdown. With
>> > HTML, you're likely to get a lot of diffs that are just fixes to HTML syntax
>> > and structure and formatting rather than actual content.
>>
>> The article I edited for issue 13 (From ISIS to CouchDB) was handled
>> in a DVCS (Mercurial, hosted at bitbucket.org<http://bitbucket.org>, because that's where
>> Luciano had it set up). I must say, it made for a great workflow that
>> I would love to repeat. Not all authors would be comfortable working
>> in version control, and I appreciate our flexibility in handling
>> whatever the author brings to us, but my ideal would be Markdown
>> articles in a Git repo. Could we at least encourage that somehow?
>>
>> > Markdown (or textile) are SO easy to use, that I personally don't see a
>> > problem with requiring authors to use it. We are a technical journal after
>> > all. (It looks like there may be some textile WP plugins too, so it could be
>> > textile instead of markdown. Depends on if ANY of these plugins, textile or
>> > markdown, are stable, mature, and flexible/powerful enough for our use,
>> > which I'm not sure).
>> >
>> > But I'm not looking for any immediate action on this, it's really just
>> > food for thought. I'd like to come up with SOME better way of handling our
>> > workflow. (While still being focused on HTML as our primary delivery, not
>> > PDF. When I think 'troubles with workflow', I think , gee, let's see what
>> > OJS does -- but they seem to punt on HTML entry/editing workflow problems,
>> > instead focusing on PDFs as the primary delivery. Which is not where any of
>> > us want to go.)
>> >
>> > ________________________________
>> > From: c4lj-d...@googlegroups.com<mailto:c4lj-d...@googlegroups.com> [c4lj-d...@googlegroups.com<mailto:c4lj-d...@googlegroups.com>] on
>> > behalf of Tom Keays [tomk...@gmail.com<mailto:tomk...@gmail.com>]
>> > Sent: Thursday, July 21, 2011 9:52 PM
>> > To: c4lj-d...@googlegroups.com<mailto:c4lj-d...@googlegroups.com>
>> > c4lj-d...@googlegroups.com<mailto:c4lj-d...@googlegroups.com><mailto:c4lj-d...@googlegroups.com<mailto:c4lj-d...@googlegroups.com>>.
>> > To unsubscribe from this group, send email to
>> > c4lj-discuss...@googlegroups.com<mailto:c4lj-discuss%2Bunsu...@googlegroups.com><mailto:c4lj-discuss%2Bunsu...@googlegroups.com<mailto:c4lj-discuss%252Buns...@googlegroups.com>>.
>> > For more options, visit this group at
>> > http://groups.google.com/group/c4lj-discuss?hl=en.
>> >
>> >
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> > Groups "Code4Lib Journal-discuss" group.
>> > To post to this group, send email to c4lj-d...@googlegroups.com<mailto:c4lj-d...@googlegroups.com>.
>> > To unsubscribe from this group, send email to
>> > c4lj-discuss...@googlegroups.com<mailto:c4lj-discuss%2Bunsu...@googlegroups.com>.
>> > For more options, visit this group at
>> > http://groups.google.com/group/c4lj-discuss?hl=en.
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> > Groups "Code4Lib Journal-discuss" group.
>> > To post to this group, send email to c4lj-d...@googlegroups.com<mailto:c4lj-d...@googlegroups.com>.
>> > To unsubscribe from this group, send email to
>> > c4lj-discuss...@googlegroups.com<mailto:c4lj-discuss%2Bunsu...@googlegroups.com>.
>> > For more options, visit this group at
>> > http://groups.google.com/group/c4lj-discuss?hl=en.
>> >
>> >
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Code4Lib Journal-discuss" group.
>> To post to this group, send email to c4lj-d...@googlegroups.com<mailto:c4lj-d...@googlegroups.com>.
>> To unsubscribe from this group, send email to
>> c4lj-discuss...@googlegroups.com<mailto:c4lj-discuss%2Bunsu...@googlegroups.com>.
>> For more options, visit this group at
>> http://groups.google.com/group/c4lj-discuss?hl=en.
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Code4Lib Journal-discuss" group.
> To post to this group, send email to c4lj-d...@googlegroups.com<mailto:c4lj-d...@googlegroups.com>.
> To unsubscribe from this group, send email to
> c4lj-discuss...@googlegroups.com<mailto:c4lj-discuss%2Bunsu...@googlegroups.com>.
> For more options, visit this group at
> http://groups.google.com/group/c4lj-discuss?hl=en.
>
--
You received this message because you are subscribed to the Google Groups "Code4Lib Journal-discuss" group.
To post to this group, send email to c4lj-d...@googlegroups.com<mailto:c4lj-d...@googlegroups.com>.
* traditional MS-Word w/ Track Changes
* Open Office Word w/ highlighted changes and comments
* Google Docs with editing privileges shared by the author
* Rich Text File, which I copied into MS-Word, edited via Track Changes,
and then saved to PDF to send back to author
I. myself, don't feel inconvenienced by another of those paths, and I've
only had minor problems copy/pasting into the Visual tab of WordPress.
I have the hardest time getting images and code snipped in and formatted
properly to fit.
Otherwise, I'm inclined to say the process isn't broken, so why fix it.
But I won't stand opposed to more efficiencies.
Tim M
> <roch...@jhu.edu <mailto:roch...@jhu.edu>>
> >> wrote:
> >> > Yeah, track changes, I dunno. I don't like our current
> 'solution' for
> >> > track changes, passing around Word documents, but don't know
> of a better
> >> > solution, markdown or not. (And we don't require authors to
> submit in Word
> >> > or be able to open a Word file now, in fact).
> >> >
> >> > I wonder if there's a WordPress plugin that puts your posts in
> a code
> >> > versioning system of some kind and lets you look at
> histories/diffs? Maybe
> >> > that'd be the solution there -- which WOULD work better with
> markdown. With
> >> > HTML, you're likely to get a lot of diffs that are just fixes
> to HTML syntax
> >> > and structure and formatting rather than actual content.
> >>
> >> The article I edited for issue 13 (From ISIS to CouchDB) was handled
> >> in a DVCS (Mercurial, hosted at bitbucket.org
> <http://bitbucket.org>, because that's where
> <mailto:c4lj-d...@googlegroups.com>
> [c4lj-d...@googlegroups.com
> <mailto:c4lj-d...@googlegroups.com>] on
> >> > behalf of Tom Keays [tomk...@gmail.com
> <mailto:tomk...@gmail.com>]
> >> > Sent: Thursday, July 21, 2011 9:52 PM
> >> > To: c4lj-d...@googlegroups.com
> <mailto:c4lj-d...@googlegroups.com>
> <mailto:roch...@jhu.edu><mailto:roch...@jhu.edu
> <mailto:c4lj-d...@googlegroups.com><mailto:c4lj-d...@googlegroups.com
> <mailto:c4lj-d...@googlegroups.com>>.
> >> > To unsubscribe from this group, send email to
> >> > c4lj-discuss...@googlegroups.com
> <mailto:c4lj-discuss%2Bunsu...@googlegroups.com><mailto:c4lj-discuss%2Bunsu...@googlegroups.com
> <mailto:c4lj-discuss%252Buns...@googlegroups.com>>.
> To post to this group, send email to c4lj-d...@googlegroups.com
It might be painful for me because I try to avoid this and have good HTML.
Does this matter, ugly HTML? I am not sure; terrible HTML will
certainly make an attempt at converting to PDF much harder; my intutions
as a programmer is that it will make other unexpected things we want to
do later harder too, but maybe caring about good HTML is just a
programmer being anal and not really neccesary.
Jonathan
Github is generally better than Bitbucket -- cleaner interface, more
features, bigger community, more ongoing development, etc.
> Also, I noticed that all the text was hard-wrapped to 80 characters. Is line
> wrapping required or just your preference? When I have edited my articles in
> a text editor, I only put hard returns at the end of paragraphs.
Both Luciano and I were used to hard-wrapped text. It's easier to edit
in Vim, and line-by-line changes are easier to track in a diff. You
can see in the repo that he even wrote a small script to unwrap the
text for WordPress, since it likes to insert a <br> whenever it's
given the opportunity (a minor annoyance).
-Tod
Tod Olson <t...@uchicago.edu>
Systems Librarian
University of Chicago Library
Going forward, I'll probably suggest Github, and if the author is
comfortable with version control, plain text, and public drafts, then
great. If not, no biggie.
If we could allow for Markdown input in addition to our current
methods, I'd be in favor of that.
I also still like the idea of a plugin so we can just enter the
Markdown text into WordPress directly. Looking around, though, there's
no clear winner in that arena, and the options all seem a bit hairy.
I'd be happy to help you test them out, though.
Thanks for looking into this, Tom. Sounds like Qute could be useful
This plugin allows you to compose content in Markdown on a per-item basis. The markdown version is stored separately (in the post_content_formatted column), so you can deactivate this plugin and your posts won't spew out Markdown, because HTML is stored in the post_content, just like normal. This is also much faster than doing on-the-fly Markdown conversion on every page load. It's only done once! When you re-edit the post, the markdown version is swapped into the editor for you to edit. If something external updates the post content, you'll lose the Markdown version.
Yep, that plugin seemed the best to me when I was looking around too – I really like it’s design, with the separate “post_content_formatted column”, such that you can de-activate it later and you’ve still got HTML for ordinary wordpress. That’s definitely the right way to do it, keeping us from getting locked in.
If we decided we liked the idea of markdown (and this is still just an investigative experiment right now, there isn’t necessarily consensus), I think it would be fine to simply disable the “visual editor”, and have everyone write markdown. (the visual editor is, I think, a cause of terrible HTML output in our present setup).
If “markdown on save” hasn’t been updated or doesn’t work well with modern versions of WP… maybe one of us or a volunteer would be interested in updating/maintaining it, ha. Or maybe not. This is just exploratory investigation at this point!
One problem with this markdown approach is that people have generally said they would NOT want to make authors submit in markdown and WOULD like to keep accepting in MS Word (which they like for it’s track changes). And some editors have said that they DO like the WordPress Word->HTML converter. Which if we were doing all markdown, wouldn’t be available anymore. So that could be a roadblock. On the other hand “markdown on save” would let SOME articles be input HTML and others in Markdown – but I worry that having that kind of a mixed environment again is just making our infrastructure _more_ complicated, when the goal is simplifying it. (For instance, if everything was in markdown, a PDF output converter would be a lot easier. If some things were in html and others in markdown, it only gets more confusing.)
So I dunno, it may not be a good idea after all.
I just had a crazy idea, put it out there for discussion, certainly not expecting any immediate action, even if people like it we'll want to stew on it for a while.
One of the most time consuming and annoying parts of editing the journal is getting things into HTML and editing the HTML without WordPress messing it up, etc.
Lately I've been using various "mostly plaintext but with conventions that can be formatted into html" formats, such as [markdown](http://daringfireball.net/projects/markdown/syntax), [textile](http://daringfireball.net/projects/markdown/syntax), and a few others. They are SO much easier to use. markdown is the most popular.
There are some markdown plugins for WP.
* What if we required authors to submit in markdown (basically plaintext with some pretty easy to remember conventions for indicating headers, lists, links, embedded images, etc)
* Then we just entered the markdown in WordPress
* Profit!
## Disadvantages
* We wouldn't be able to use fancy custom HTML anymore. This has some pro's in enforcing consistency, but also some obvious cons.
* We'd probably have to give up on the COinS, which I think would actually be fine. Some years on, COinS has not really caught on, I'm not sure it provides a benefit commensurate to the effort it takes us, and we usually don't manage to do it right anyway. Few of our articles include links to non-open-access literature anyway.
* On the other hand, we can't give up code syntax highlighting. Not sure if WP markdown plugins would play nice with the syntax highlighter plugin, but they might.
* We'd have to figure out how to conveniently do notes/references too, especially for articles that want the (Smith 2000) style to be most readable.
* Not sure how we'd get things like our formatted captions on figures to work right, or center-aligned figures, etc.
So there'd be some challenges. But I suspect they could be overcome. And I think it would make our jobs so much easier, take out the most annoying and least rewarding thing editors spend time on. And, hey, forcing the limitation to the subset of HTML that markdown can represent would make an article-to-PDF converter a lot easier too.
## Note
This email is, as you may have guessed, in markdown.