{"id":4829,"date":"2009-02-23T15:12:38","date_gmt":"2009-02-23T15:12:38","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/indizar\/"},"modified":"2012-06-16T02:25:18","modified_gmt":"2012-06-16T02:25:18","slug":"indizar","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/indizar\/","author":260777,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.8.1","stable_tag":"0.8.1","tested":"3.4.2","requires":"2.4","requires_php":"","requires_plugins":"","header_name":"Indizar","header_author":"Juan Sebasti\u00e1n Echeverry","header_description":"","assets_banners_color":"","last_updated":"2012-06-16 02:25:18","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/www.sebaxtian.com\/acerca-de\/indizar","header_author_uri":"http:\/\/www.sebaxtian.com","rating":5,"author_block_rating":0,"active_installs":10,"downloads":4613,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"1"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.4.4","0.4.5","0.4.6","0.4.6.1","0.4.7","0.4.7.1","0.4.8","0.5","0.5.1","0.5.2","0.5.3","0.5.3.1","0.5.4","0.6","0.6.1","0.6.1.1","0.6.2","0.6.3","0.6.4","0.6.5","0.6.6","0.6.7","0.6.8","0.6.9","0.7","0.7.1","0.7.2","0.8","0.8.1"],"block_files":[],"assets_screenshots":{"screenshot-5.png":{"filename":"screenshot-5.png","revision":"1539159","resolution":"5","location":"plugin","width":576,"height":252},"screenshot-7.png":{"filename":"screenshot-7.png","revision":"1539159","resolution":"7","location":"plugin","width":576,"height":257},"screenshot-6.png":{"filename":"screenshot-6.png","revision":"1539159","resolution":"6","location":"plugin","width":508,"height":366},"screenshot-4.png":{"filename":"screenshot-4.png","revision":"1539159","resolution":"4","location":"plugin","width":508,"height":366},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1539159","resolution":"2","location":"plugin","width":504,"height":367},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"1539159","resolution":"3","location":"plugin","width":520,"height":378},"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1539159","resolution":"1","location":"plugin","width":504,"height":367}},"screenshots":{"1":"Add one chapter","2":"Add an index box","3":"Configuration tag","4":"Editor example using the \u00b4chapters\u00b4 tag","5":"First chapter example","6":"Editor example using the \u00b4configuration\u00b4 tag","7":"Last chapter example using 'configuration' tag, see the top numbered list"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[17041],"plugin_category":[],"plugin_contributors":[80033],"plugin_business_model":[],"class_list":["post-4829","plugin","type-plugin","status-closed","hentry","plugin_tags-chapters","plugin_contributors-sebaxtian","plugin_committers-sebaxtian"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/indizar.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/indizar\/trunk\/screenshot-1.png?rev=1539159","caption":"Add one chapter"},{"src":"https:\/\/ps.w.org\/indizar\/trunk\/screenshot-2.png?rev=1539159","caption":"Add an index box"},{"src":"https:\/\/ps.w.org\/indizar\/trunk\/screenshot-3.png?rev=1539159","caption":"Configuration tag"},{"src":"https:\/\/ps.w.org\/indizar\/trunk\/screenshot-4.png?rev=1539159","caption":"Editor example using the \u00b4chapters\u00b4 tag"},{"src":"https:\/\/ps.w.org\/indizar\/trunk\/screenshot-5.png?rev=1539159","caption":"First chapter example"},{"src":"https:\/\/ps.w.org\/indizar\/trunk\/screenshot-6.png?rev=1539159","caption":"Editor example using the \u00b4configuration\u00b4 tag"},{"src":"https:\/\/ps.w.org\/indizar\/trunk\/screenshot-7.png?rev=1539159","caption":"Last chapter example using 'configuration' tag, see the top numbered list"}],"raw_content":"<!--section=description-->\n<p>The <em>nextpage<\/em> tag in Wordpress gives a simple indexing system, but\nsometimes we need a better solution. Indizar creates chapters with\ntitles and gives a function to retrieve those names. Also it has a\ntool to put an index whereas the user wants in the post, or a tag to\ndefine a default configuration for the boxes.<\/p>\n\n<p>To add a chapter use [chapter:Title] at the beginning of the chapter. \nThe title would be write as a <em>header<\/em>, and you can define the apparance \nwith a CSS file (see the FAQ). Notice that the first chapter in the list \nwould have the name of the post, and wouldn't be shown at the beggining of \nthe content. The first occurrence of the tag [chapter: ****] would be the \nsecond item in the chapters list.<\/p>\n\n<p>If you need another name for the first chapter you can use [firstchapter:Title]\nto create a header. It doesn't have to be at the beginning of the page. \nWith this you can have an introduction and the first chapter in the same page.<\/p>\n\n<p>To allow Indizar to use the \u00b4headers\u00b4 as chapter marks, you have to define it \nin your <strong>wp-config<\/strong> file. Read the topic about how to modify Indizar \nconfiguration at the end of this README.<\/p>\n\n<p>To add the index use [chapters:size,left|right] where size is the width \nof the context box, left | right is the float position for the box. Those \nvalues are optional and you can use just [chapters]. The index box is \nhidden in the index and search pages, it will be shown in each 'single page'.\nUse the configuration tag instead this if you want to show a box in every \npage at the same place.<\/p>\n\n<p>To add a global configuration use [indizar:#conf,#box&#095;size,[left|right|none],{preface&#095;title}], \nwhere the #conf is:<\/p>\n\n<ul>\n<li>0 - to not show a numbered list<\/li>\n<li>1 - to show it at the begin of the post<\/li>\n<li>2 - to show it at the end<\/li>\n<li>3 - to show it both sides<\/li>\n<\/ul>\n\n<p>The size box and the float position declares the general behavior. If the float value is\n\u00b4right\u00b4 or \u00b4left\u00b4 the plugin creates a box after every chapter title in the post,\nif it is \u00b4none\u00b4 the plugin will let you define the chapters box manually with the\ntag [chapters]. If there is a [chapters] tag in a page the plugin will use this \nposition instead the one declared in the \u00b4configuration\u00b4 tag. The \u00b4preface&#095;title\u00b4 \nis optional and if declared the first chapter would be numbered as <strong>0<\/strong> and the \ntext you use will be the title in the numbered list.<\/p>\n\n<p>Why use a preface? Maybe the first chapter of your post is really the second page,\nand when you look at the URL the fisrt chapter is named \u00b4post\/chapter\/2\u00b4. This\nsets correctly the url to show your first chapter as \u00b4post\/chapter\/1\u00b4.<\/p>\n\n<p>To not display a chapter list in a page when you have a configuration set, use the tag\n[chapters:none].<\/p>\n\n<p>There is a button in the RichText Editor to add <strong>chapters<\/strong>, <strong>chapters box<\/strong> and the \n<strong>configuration<\/strong> tag to your post.<\/p>\n\n<p>If you want Indizar to have a default configuration you can declare it in \nthe <strong>wp-config<\/strong> file. This is my personal configuration, modify it as you\nrequire.<\/p>\n\n<ul>\n<li>define(\"INDIZAR&#095;TOP\", false);<\/li>\n<li>define(\"INDIZAR&#095;BOTTOM\", true);<\/li>\n<li>define(\"INDIZAR&#095;BOX\", true);<\/li>\n<li>define(\"INDIZAR&#095;BOX&#095;SIZE\", 200);<\/li>\n<li>define(\"INDIZAR&#095;BOX&#095;FLOAT\", \"right\");<\/li>\n<li>define(\"INDIZAR&#095;USE&#095;PREFACE\", false);<\/li>\n<li>define(\"INDIZAR&#095;PREFACE&#095;TITLE\", \"Prefacio\");<\/li>\n<li>define(\"INDIZAR&#095;USE&#095;HEADERS\", \"h1\");<\/li>\n<li>define(\"INDIZAR&#095;DIV\", \".entry-content\");<\/li>\n<li>define(\"INDIZAR&#095;TOPDIV\", \"#box\");<\/li>\n<\/ul>\n\n<p>The INDIZAR&#095;DIV and INDIZAR&#095;TOPDIV are required only if you want to enable \nthe AJAX feature. The first one requires the class or the id of the div containing \nthe text you want to change. The second one requires the class or the id of the \ntag where you want to scroll when using the links at the end of each chapter. In \nthe example, indizar would change the content inside the class 'entry-content' and \nwill scroll to the id 'box'. <strong>These are the data for my theme, but it would be \ndifferent in yours<\/strong>.<\/p>\n\n<p>To get the list of chapters in your theme, use the function <code>ind_chapters_list()<\/code>. This \nfunction returns the array with the chapters, or false if there are no chapters. \nIt <strong>has<\/strong> to be used after the function <code>the_post()<\/code>. Or, to get the html, use <code>$list = ind_chapters_list(); echo ind_index_list($list);<\/code><\/p>\n\n<p>Indizar has been translated to rusian by <strong><a href=\"http:\/\/zauglom.info\/lokalizaciya-plagina-indizar-176.html\" title=\"\u041d\u0435\u043f\u043e\u043b\u043d\u043e\u0435 \u0441\u043e\u0431\u0440\u0430\u043d\u0438\u0435 \u043b\u0438\u0447\u043d\u044b\u0445 \u0441\u043e\u0447\u0438\u043d\u0435\u043d\u0438\u0439\">\u0414\u043d<\/a><\/strong>, polish by Bartosz Kowa and french by the <strong><a href=\"http:\/\/www.inmotionhosting.com\/\">InMotion Hosting Team<\/a><\/strong>. Thanks for your time guys!<\/p>\n\n<p>Screenshots are in spanish because it's my native language. As you should know yet \nI <strong>spe'k<\/strong> english, and the plugin use it by default.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Decompress indizar.zip and upload <code>\/indizar\/<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the <strong>Plugins<\/strong> menu in WordPress<\/li>\n<li>If you use permalinks, go to <strong>Options &gt; Permalinks<\/strong> and press the button <strong>Save Changes<\/strong>. This would recreate your permalinks cache with the <strong>chapter<\/strong> tag.<\/li>\n<li>You can use indizar.css to create your own style. Copy it to your theme idrectory.<\/li>\n<li>If you want a default configuration define it in your <strong>wp-config.php<\/strong> file.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Is this plugin bug free?<\/dt>\n<dd><p>I don't think so. So far it works with my permalinks, but I didn't test it with other\n configurations. Feedbacks would be appreciated.<\/p><\/dd>\n<dt>Permalinks doesn't work!!!!!!<\/dt>\n<dd><p>Did you <strong>recreate<\/strong> permalinks rules? Go to <strong>Options &gt; Permalinks<\/strong> and press the button <strong>Save Changes<\/strong>.<\/p><\/dd>\n<dt>Can I set my own CSS?<\/dt>\n<dd><p>Yes. Copy the file indizar.css to your theme folder. The plugin will check for it.<\/p><\/dd>\n<dt>Can I use the Ajax script in my theme?<\/dt>\n<dd><p>Yes, use the script 'indizar_click(url, div, jump)'.\n* Url is the link to the page.\n* Div is the class or id where the content is.\n* Jump is the class or id of the tag where you want to scroll. Set this to false\nif no scroll is required.<\/p>\n\n<p>If you use a jQuery call to set the binds, remember to create te bibds again because\nthe new content has new DomObjects.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.8.1<\/h4>\n\n<ul>\n<li>Solved bug with lost pages (problem with 3.4 update)<\/li>\n<\/ul>\n\n<h4>0.8<\/h4>\n\n<ul>\n<li>Added ajax capabilities to change the content.<\/li>\n<\/ul>\n\n<h4>0.7.2<\/h4>\n\n<ul>\n<li>If title has a link open it in a new window. <\/li>\n<\/ul>\n\n<h4>0.7.1<\/h4>\n\n<ul>\n<li>A title with a link would be treated as the URL of the chapter.<\/li>\n<\/ul>\n\n<h4>0.7<\/h4>\n\n<ul>\n<li>Now you can use \u00b4headers\u00b4 as chapter marks.<\/li>\n<li>Modified README with the new API.<\/li>\n<\/ul>\n\n<h4>0.6.9<\/h4>\n\n<ul>\n<li>Checked for WP 3.1<\/li>\n<\/ul>\n\n<h4>0.6.8<\/h4>\n\n<ul>\n<li>Added tag 'none' to not display a chapter list.<\/li>\n<\/ul>\n\n<h4>0.6.7<\/h4>\n\n<ul>\n<li>Modified content action declaration to have a high priority.<\/li>\n<\/ul>\n\n<h4>0.6.6<\/h4>\n\n<ul>\n<li>Modified TinyMCE call to solve bugs with wp-cache.<\/li>\n<\/ul>\n\n<h4>0.6.5<\/h4>\n\n<ul>\n<li>Solved minor bugs.<\/li>\n<\/ul>\n\n<h4>0.6.4<\/h4>\n\n<ul>\n<li>Using WP functions to add safely scripts and css.<\/li>\n<\/ul>\n\n<h4>0.6.3<\/h4>\n\n<ul>\n<li>Solved a bug with category rules in permalinks.<\/li>\n<\/ul>\n\n<h4>0.6.2<\/h4>\n\n<ul>\n<li>Solved a strange bug in the editor.<\/li>\n<\/ul>\n\n<h4>0.6.1.1<\/h4>\n\n<ul>\n<li>Solved an error in the German translation.<\/li>\n<\/ul>\n\n<h4>0.6.1<\/h4>\n\n<ul>\n<li>Polish and Russian translations updated.<\/li>\n<li>First German translation.<\/li>\n<\/ul>\n\n<h4>0.6<\/h4>\n\n<ul>\n<li>Stable release.<\/li>\n<li>Solved a bug with multiple blog posts (patch by Christian Rehn).<\/li>\n<\/ul>\n\n<h4>0.5.4<\/h4>\n\n<ul>\n<li>Release for developers.<\/li>\n<\/ul>\n\n<h4>0.5.3.1<\/h4>\n\n<ul>\n<li>The code has been indented, documented and standardised.<\/li>\n<li>Enhaced the tinyMCE editor usability in the index tag.<\/li>\n<li>Solved a bug when tinyMCE editor was in full window.<\/li>\n<\/ul>\n\n<h4>0.5.3<\/h4>\n\n<ul>\n<li>Now you can set your own css file (see FAQ).<\/li>\n<\/ul>\n\n<h4>0.5.2<\/h4>\n\n<ul>\n<li>Now Indizar can be used in pages. Remember to recreate the permalinks (see the FAQ).<\/li>\n<li>Added i18n for Polish<\/li>\n<\/ul>\n\n<h4>0.5.1<\/h4>\n\n<ul>\n<li>Defined special variables to use in wp-config and set a default behavior.<\/li>\n<li>Added i18n for Russian<\/li>\n<\/ul>\n\n<h4>0.5<\/h4>\n\n<ul>\n<li>First version using a special tag to configure the behavior of indizar in a post.<\/li>\n<\/ul>","raw_excerpt":"A plugin to index posts and pages using chapters.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/4829","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=4829"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/sebaxtian"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=4829"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=4829"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=4829"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=4829"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=4829"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=4829"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}