{"id":14663,"date":"2011-08-29T13:55:17","date_gmt":"2011-08-29T13:55:17","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/ebnfer\/"},"modified":"2011-09-02T23:29:38","modified_gmt":"2011-09-02T23:29:38","slug":"ebnfer","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/ebnfer\/","author":2608929,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.4","stable_tag":"0.4","tested":"3.2.1","requires":"2.5","requires_php":"","requires_plugins":"","header_name":"EBNFer","header_author":"Peter Ajtai","header_description":"","assets_banners_color":"","last_updated":"2011-09-02 23:29:38","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/netlumination.com\/","header_plugin_uri":"http:\/\/netlumination.com\/blog\/ebnfer","header_author_uri":"http:\/\/netlumination.com","rating":0,"author_block_rating":0,"active_installs":0,"downloads":960,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"0.2":"<ul>\n<li>Arrows replaced with line contours. All your images will be re-rendered and re-cached after this upgrade.<\/li>\n<\/ul>","0.3":"<p>Mainly a bug fix for caching. Single quotes were making images render all the time. Also some cosmetic changes.<\/p>","0.4":"<p>&quot;trye&quot; =&gt; &quot;true&quot; spelling error fix for antialiasing<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1","0.2","0.3","0.4"],"block_files":[],"assets_screenshots":{"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1443774","resolution":"2","location":"plugin"},"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1443774","resolution":"1","location":"plugin"}},"screenshots":{"1":"JSON RR diagram created using the example code in the description.","2":"A RR diagram explaining the grammar to create RR diagrams with EBNFer"}},"plugin_section":[],"plugin_tags":[26203,26202,26205,26204],"plugin_category":[],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-14663","plugin","type-plugin","status-closed","hentry","plugin_tags-diagrams","plugin_tags-ebnf","plugin_tags-extended-backus-naur-form","plugin_tags-railroad-diagrams","plugin_committers-pajtai"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/ebnfer.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/ebnfer\/trunk\/screenshot-1.png?rev=1443774","caption":"JSON RR diagram created using the example code in the description."},{"src":"https:\/\/ps.w.org\/ebnfer\/trunk\/screenshot-2.png?rev=1443774","caption":"A RR diagram explaining the grammar to create RR diagrams with EBNFer"}],"raw_content":"<!--section=description-->\n<p>The EBNF parser and renderer is built off of the one created by Vincent Tscherter ( http:\/\/karmin.ch\/ebnf\/index ).<\/p>\n <p>The diagrams are stored \/ cached as PNG images.<\/p>\n <p>Enclose your grammar defintions within <code>[ebnf]<\/code> shortcodes using the form: <code>[ebnf] GRAMMAR [\/ebnf]<\/code><\/p>\n <p>You can use any of three optional addtributes<\/p>\n <ul>\n<li>title  - Define the generated image title<\/li>\n<li>alt    - Define the generated image alt tag<\/li>\n<li>link   - Set to, \"no\" if you don't want the image tag to link to the image file<\/li>\n<li>arrows - Set to a truthy value to turn arrows on. Leave out or set falsey to turn off. (e.g. <code>arrows=\"1\"<\/code> to turn on)<\/li>\n<\/ul>\n <p>For the grammar group things with parentheses <code>()<\/code>. Use <code>|<\/code> for \"or\", use <code>[...]<\/code> for one or more times, and <code>{...}<\/code> for zero or more times.<\/p>\n <p>Enclose the entire grammar in <code>{...}<\/code> and included and optional title with <code>\"...\"<\/code><\/p>\n <p>For example here is how you would create railroad diagrams for JSON with EBNFer:<\/p>\n <pre>\n[ebnf title=\"JSON RR Diagram\"] \"JSON\" { object = \"{\" [ ( string ':' value ) { ',' string ':' value }  ] \"}\". array = '['  [ value { ',' value } ] ']'. } [\/ebnf] <\/pre>\n <h4>Stay tuned for<\/h4>\n <ul>\n<li>Smarter image caching<\/li>\n<li>Smarter renderer<\/li>\n<li>Switch out bracket styled grammar definitions with Regex styled grammar definitions<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ul>\n<li>Download EBNFer<\/li>\n<li>Unzip the file<\/li>\n<li>Upload the \"plugeshin\" directory and contents to the wp-content\/plugins directory on your server.<\/li>\n<li>In the WP-Admin panel navigate to the Plugins page.<\/li>\n<li>Click the <code>Activate<\/code> option for PluGeSHin.<\/li>\n<\/ul>\n\n<!--section=faq-->\n<h4>Will the PNG image be updated if I update my grammer?<\/h4>\n <ul>\n<li>Yes. The PNG images are stored with file names that are MD5 hashes of your grammer, so if you change your grammer, a new image will be created.<\/li>\n<\/ul>\n <h4>Can I delete the PNG images in the `plugins\/ebnfer\/images` folder?<\/h4>\n <ul>\n<li>Yes. If an image is not there EBNFer will just render and cache it again.<\/li>\n<\/ul>\n\n<!--section=changelog-->\n<h4>0.1<\/h4>\n <ul>\n<li>First release<\/li>\n<\/ul>\n <h4>0.2<\/h4>\n <ul>\n<li>Remove arrows and replace with contours. <\/li>\n<\/ul>\n <h4>0.3<\/h4>\n <ul>\n<li>Added \"arrows\" attribute to turn arrows on or off.<\/li>\n<li>Single quote caching error bug fix<\/li>\n<li>Removed \"meta\" text<\/li>\n<\/ul>\n <h4>0.4<\/h4>\n <ul>\n<li>Bug fix: \"trye\" =&gt; \"true\" for antialiasing<\/li>\n<\/ul>","raw_excerpt":"EBNFer is a railroad diagram generator for Wordpress. It lets you use Wordpress shortcodes to parse and render Extended Backus\u2013Naur Form diagrams.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/14663","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=14663"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/pajtai"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=14663"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=14663"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=14663"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=14663"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=14663"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=14663"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}