Ticket #105 (closed enhancement: fixed)

Opened 21 months ago

Last modified 11 months ago

Posting markup formats

Reported by: michiel Owned by: michiel
Priority: normal Milestone: MvBlog 3.1
Component: global Version:
Severity: feature Keywords:
Cc:

Description

Requested by Ferry Boender.

It would be great if MvBlog would allow different markup formats for posting. Everybody is comfortable with a different type of markup. PEAR has packages offering very easy support for this, I believe.

Specifications:

Features:

  • Modular design.
  • Choose a markup format site-wide or per-post.
  • Markup could also be configurable per-comment.

Markups:

  • Wiki style (mediawiki, pmwiki). PEAR has packages for this.
  • HTML style (<h1>My blogpost!</h1>)
  • BBCode style
  • ReST style?

Change History

Changed 21 months ago by michiel

  • owner michiel deleted
  • version 2.1 deleted
  • milestone changed from MvBlog 2.1 to MvBlog 3.0

Changed 15 months ago by michiel

we should put an extra field in both the articles and comments table to identify the type of input. that way we can save the input verbatim and render it on screen when viewing them.

Changed 13 months ago by michiel

(In [693]) create branch to implement different input formats Re #105

Changed 11 months ago by michiel

  • severity set to feature
  • milestone changed from MvBlog 3.0 to MvBlog 3.1

Changed 11 months ago by michiel

  • owner set to michiel
  • status changed from new to assigned

Changed 11 months ago by michiel

(In [754]) introduce input formats for the admin backend. Right now only BBCode and HTML are supported. The setting for WYSIWYG is not implemented correctly yet.

Had to move around some functions for this.

Re #105

Changed 11 months ago by michiel

(In [755]) - load editor if setting wysiwyg is set - use dynamic js file so we dont have to copy it over and over

Re #105

Changed 11 months ago by michiel

  • summary changed from Posting markup formats to [branch] Posting markup formats

Changed 11 months ago by michiel

(In [756]) Support MediaWiki? input format using PEAR::Text_Wiki_Mediawiki. We ship the PEAR packages because they are labeled alpha so cannot be installed easily using pear on hosted platforms

Re #105

Changed 11 months ago by michiel

(In [757]) Introduce input formats. Supported right now: HTML, BBCode and MediaWiki?.

Re #105

Changed 11 months ago by michiel

(In [758]) remove branch that is merged into trunk Re #105

Changed 11 months ago by michiel

  • summary changed from [branch] Posting markup formats to Posting markup formats

Changed 11 months ago by michiel

(In [761]) parse body when viewing 1 post only. Re #105

Changed 11 months ago by michiel

  • status changed from assigned to closed
  • resolution set to fixed

changing markup format after creating a post is going to be problematic. For instance, how to convert MediaWiki? format to BBCode ?

You can alter the input format in the backend, and that's it. Posts created with BBCode will always be edited in BBCode because that is stored on creation time.

The format for comments is BBCode, and I dont want all the other stuff in there. Feel free to send a patch and reopen this issue if you really want that.

Closing now because everything I want to implement is done.

Note: See TracTickets for help on using tickets.