Automatic post format detection

Registered by Stéphane Graber

It would be a good thing to have an "auto" format that will detect what format is the best depending on the posted content.

Blueprint information

Status:
Started
Approver:
Daniel Bartlett
Priority:
High
Drafter:
Daniel Bartlett
Direction:
Needs approval
Assignee:
Daniel Bartlett
Definition:
Approved
Series goal:
None
Implementation:
Good progress
Milestone target:
None
Started by
Daniel Bartlett

Related branches

Sprints

Whiteboard

mime module in PHP - http://pecl.php.net/package/Fileinfo
This is looking good:-

http://1t2.us/permatag/phpfileinfotest

This will also require an extra column to be added to the array of Types used by GeSHI to be added into the default.conf.php.
There might just be the chance to substitute out some of the strings from the output...
Or we just update the displayed text in the application to match that of the filemagic output??? ( I think this is the lazy and easy option! )

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.