Changeset 1908770
- Timestamp:
- 07/13/2018 01:02:47 PM (8 years ago)
- Location:
- title-to-tags/trunk
- Files:
-
- 12 added
- 1 deleted
- 3 edited
-
.gitignore (modified) (1 diff)
-
.travis.yml (added)
-
Library (added)
-
Library/class-core.php (added)
-
Library/fragments (added)
-
Library/fragments/update.php (added)
-
Library/stopwords.txt (added)
-
README.md (modified) (1 diff)
-
bin (added)
-
bin/install-wp-tests.sh (added)
-
codesniffer.ruleset.xml (added)
-
hn_title_to_tags.php (deleted)
-
phpcs.xml (added)
-
phpunit.xml.dist (added)
-
readme.txt (modified) (6 diffs)
-
title-to-terms.php (added)
Legend:
- Unmodified
- Added
- Removed
-
title-to-tags/trunk/.gitignore
r1215807 r1908770 1 1 *.log 2 .htaccess 3 sitemap.xml 4 sitemap.xml.gz 5 wp-config.php 6 wp-content/advanced-cache.php 7 wp-content/backup-db/ 8 wp-content/backups/ 9 wp-content/blogs.dir/ 10 wp-content/cache/ 11 wp-content/upgrade/ 12 wp-content/uploads/ 13 wp-content/wp-cache-config.php 2 .idea/ -
title-to-tags/trunk/README.md
r1215807 r1908770 1 # title-to-tags 2 This plugin automatically converts keywords in a WordPress post title to tags, while ignoring a user-editable list of words. 1 # Title to Terms Ultimate 2 The ultimate auto-tagging plugin for WordPress. 3 4 Title to Terms Ultimate is for every WordPress admin that needs tags, categories and other taxonomies filled out automatically. For each post type in your WordPress installation, T2TU will allow you to assign a taxonomy to be automatically updated with keywords pulled from the title of the post. 5 6 Every time a post gets saved or updated, T2TU analyzes the title of the post for usable keywords. A list of user-configurable "Stop Words" is checked by the parser, so that words like "I" or "going" don't get made into ultimately useless tags. 7 8 T2TU can be configured to either add new tags to a post or append additional tags. 9 10 * Converts keywords in post titles to tags 11 * Includes user-editable list of words to be ignored 12 * Ignore list can be reset to default at any time 13 * Converts on save, not publish. 14 * Does not convert if there are already tags assigned. 15 16 ## Download and Installation 17 * Download the plugin from the WordPress repository, [here](https://wordpress.org/plugins/title-to-tags/ "Titles to Tags"). 18 * Unzip and upload the file to your /wp-content/plugins directory. 19 * In the Dashboard, go to Plugins->All Plugins and activate. 20 * Configure T2TU from the Settings->Writing screen 21 22 ## Configuration Options 23 * __Title to Terms: ignored words__ ~ This is a list of Stop Words that will be ignored by the title parser. You can add new terms to and delete terms from this list. You can also set the list back to default values by simply deleting the entire list. 24 * __Title to Terms: append tags__ ~ By default, T2TU leaves posts alone if they've already got terms in the chosen taxonomy. By checking this box, you can append terms to an existing list. 25 * __Title to Terms: Taxonomies and Post Types__ ~ This is a matrix of post types and their associated terms. You can select one taxonomy from each post type to autofill. 26 27 ## Frequently Asked Questions 28 29 #### How Can I Contribute? 30 The plugin is now being maintained on GitHub, so please do contribute all your questions, comments, suggestions, fixes and improvements with me [here](https://github.com/holisticnetworking/title-to-tags). 31 32 #### Does this plugin convert all words in the title? 33 34 No. There is a user-configurable list of stop words, pre-populated with a host of common words, which can be used to fine-tune the resulting tags. 35 36 #### Will this plugin overwrite my existing tags? 37 38 No. The plugin checks for the existence of tags, and if there are none, writes them based on the title. 39 40 #### When are the tags added? At publish or save? 41 42 Tags are added to the post when it is saved, whether as a draft, update or by publishing, but not when the post is autosaved. 43 44 #### Is there a way to reset the list of ignored words back to the original 45 46 Yes. Simply delete the current list of stop words, and Title to Tags will replace the list with its default stop words collection (stopwords.txt) 47 48 #### Will this plugin put tags on my old posts? 49 50 Maybe. It will not handle the process automatically, but if you open any untagged post and save it, Titles to Tags will work. 51 52 ## Screenshots 53 54 1. The Plugins page showing the Title to Tags plugin pre-activation. 55 2. The Title to Tags settings on the Writing page. 56 57 ## Version History 58 59 * 1.0 ~ Initial public release 60 * 1.1 ~ Corrected some meta data 61 * 1.2 ~ Name collision with another plugin, FeedWordPress, corrected 62 * 1.3 ~ Whoops! Didn't put the title in the meta data, how silly! 63 * 1.4 ~ SVN commit to include tag 64 * 2.0 ~ Revamped version based on experiments with these function in another plugin. 65 ~ using WP-style function notes 66 ~ designed to work with both WP and WPMU 67 ~ lowerNoPunc function now removes posessive 's from words 68 ~ addresses issue where tags are created even if they're not added to the post 69 * 2.1 ~ Two bug fixes: 70 ~ Use of the deprecated number-based roles in the add_options_menu() call has been fixed. 71 ~ Added isset() check to form submission check. Whoops! Error checking not turned on. 72 ~ NOTE: I am aware of the issue with this plugin not working in 3.0 and the next release will correct this issue. This will probably make the plugin inoperable for <3.0. Please upgrade your system to continue using this plugin. 73 * 3.0 ~ Converted to WordPress 3.0-compatible code. Not sure how this will affect the 2.x users out there, but will make a branch in SVN just in case. 74 * 3.0.1 ~ Noticed some improvements to be made to the efficiency of the code. getStopWords is now the only function used to get the stop words anywhere they appear (formerly using get_option directly). 75 * 3.2 ~ Rearranging a lot of the code, user-defined stop words were being ignored. 76 * 3.3 ~ New version now on GitHub. 77 ~ Version also checked to be compatible with WP 4.4 78 * 4.0 ~ Changed name to Titles to Terms Ultimate, reflecting newly updated code. 79 ~ T2TU now allows one taxonomy per post type to be auto-populated by title-generated terms. 80 ~ User-selectable taxonomy for each post type registered to WordPress, and each taxonomy registered to that post type. 81 82 ## Acknowledgements 83 * The WP Plugin Repository icon and banner were both made with the kind contribution of: [Muharrem Fevzi Çelik @ The Noun Project](https://thenounproject.com/search/?q=taxonomy&i=165760) (CC licensed) -
title-to-tags/trunk/readme.txt
r1312909 r1908770 1 === Titles to Tags === 1 === Title to Terms Ultimate === 2 2 3 Contributors: dragonflyeye 3 Tags: tags, titles, automation4 Tags: automation, automate, automatic, taxonomy, category, categories, tag, tags, admin, analytics, posts, pages, custom post type, cpt 4 5 Requires at least: 3.0 5 Tested up to: 4. 46 Stable tag: 3.36 Tested up to: 4.9 7 Stable tag: 4.0 7 8 License: GPLv2 or later 8 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html 9 10 10 Th is plugin automatically converts keywords in a post title to tags, while ignoring a user-editable list of words.11 The ultimate auto-tagging plugin for WordPress. 11 12 12 13 == Description == 14 The ultimate auto-tagging plugin for WordPress. 13 15 14 NEW REPOSITORY ON [GITHUB!](https://github.com/holisticnetworking/title-to-tags) Please consider making a contribution to good code.16 Title to Terms Ultimate is for every WordPress admin that needs tags, categories and other taxonomies filled out automatically. For each post type in your WordPress installation, T2TU will allow you to assign a taxonomy to be automatically updated with keywords pulled from the title of the post. 15 17 16 This plugin automatically converts keywords in a post title to tags upon saving. It includes a user-editable list of words you want the plugin to ignore, which by default includes the more obviously-useless words like "I" or "wasn't." You can also reset the list back to defaults by deleting the current list.18 Every time a post gets saved or updated, T2TU analyzes the title of the post for usable keywords. A list of user-configurable "Stop Words" is checked by the parser, so that words like "I" or "going" don't get made into ultimately useless tags. 17 19 18 * Converts keywords in post titles to t ags19 * Includes user-editable list of words to be ignored 20 * Ignore list can be reset to default at any time 20 * Converts keywords in post titles to terms in any taxonomy 21 * Includes user-editable list of words to be ignored. 22 * Ignore list can be reset to default at any time. 21 23 * Converts on save, not publish. 22 * Does not convert if there are already tags assigned.24 * Configurable to either add new terms or append the list of terms. 23 25 24 Multi-blog adminstrators take note: this plugin is especially helpful if you're building a community-based site where tagging is important and your bloggers are not always diligent about tagging. 25 26 WP banner photo credit: [Sarah Bresnahan on Flickr](http://www.flickr.com/photos/sjbresnahan/4087585005/sizes/o/in/photolist-7ecWBx-7egQk9-6JvPPE-6JrJbB-8pnP89-6vTRJU-Fv4Vf-bUUTad-6UrYUY-8H8P4N-f7MqAR-6kcugT-ceuhxY-4YCw2W-e1tJ5X-7h6Si1-9SKEiC-6rPyjP-f4y8VP-29Xa3H-6w1QVu-bE8ArQ-bT3mtc-bT3m7p-bE8ANW-5fFT4a-PCDgy-PCDg5-bTdrSp-4stkJX-4sxnZo-8H8Qru-f82DeA-4VaRUY-nw9vn-f7Mv9e-81XHfC-bX7VFg-53weBC-zzoQA-aiZtUG-8kTNpR-68awX8-5mR9EQ-e1JMNH-4V6Co8-6eqCTy-4VaRRY-9Fafo-6KP53J-9Faf6/ 27 ) (CC licensed) 26 Multisite admins take note: this plugin is especially helpful if you're building a community-based site where tagging is important and your bloggers are not always diligent about tagging. 28 27 29 28 == Installation == 30 31 29 Very simple, very easy: 32 33 30 1. Extract the zip file and upload the title_to_tags folder to your /wp-content/plugins directory. 34 31 2. Activate plugin by going to the Plugins section of your Control Panel. … … 36 33 37 34 == Frequently Asked Questions == 35 = How Can I Contribute? = 38 36 39 ======= 40 = How Can I Contribute? = 41 The plugin is now being maintained on GitHub, so please do contribute all your questions, comments, suggestions, fixes and improvements with me [here](https://github.com/holisticnetworking/title-to-tags). 37 The plugin is now being maintained on GitHub, so please do contribute all your questions, comments, suggestions, fixes and improvements with me [here](https://github.com/holisticnetworking/title-to-terms). 42 38 43 39 = Does this plugin convert all words in the title? = … … 45 41 No. There is a user-configurable list of stop words, pre-populated with a host of common words, which can be used to fine-tune the resulting tags. 46 42 47 = Will this plugin overwrite my existing tags? = 43 = Will this plugin overwrite my existing tags? = 48 44 49 No. The plugin checks for the existence of tags, and if there are none, writes them based on the title. 45 No. The plugin can be configured to either 46 * Add new terms only when the post does not already contain terms in that taxonomy 47 * Append the list of terms with any new terms not already added. 50 48 51 49 = When are the tags added? At publish or save? = … … 61 59 Maybe. It will not handle the process automatically, but if you open any untagged post and save it, Titles to Tags will work. 62 60 63 = Does this plugin work with versions less than 3.1? =64 65 The most recent release of this plugin was designed to handle 3.0 and above. It has not been tested below 3.0, however, there is a branched version in SVN that will work with versions greater than 2.7:66 http://plugins.svn.wordpress.org/title-to-tags/branches/2.1/trunk/67 68 61 == Screenshots == 69 62 … … 72 65 73 66 == Version History == 74 75 67 * 1.0 ~ Initial public release 76 68 * 1.1 ~ Corrected some meta data … … 92 84 * 3.3 New version now on GitHub. 93 85 ~Version also checked to be compatible with WP 4.4 86 * 4.0 ~ Changed name to Titles to Terms Ultimate, reflecting newly updated code. 87 ~ T2TU now allows one taxonomy per post type to be auto-populated by title-generated terms. 88 ~ User-selectable taxonomy for each post type registered to WordPress, and each taxonomy registered to that post type. 94 89 95 90 == Acknowledgements == 96 91 97 * Th is plugin would not have been nearly as cool without the stop words list. That list was originally from Adam Whippy's awesome plugin, [Clean Trunks] (http://www.york-newyork.com/seo-plugin-wordpress-urls/ "Automated SEO Friendly URL plugin for Wordpress")92 * The WP Plugin Repository icon and banner were both made with the kind contribution of: [Muharrem Fevzi Çelik @ The Noun Project](https://thenounproject.com/search/?q=taxonomy&i=165760) (CC licensed)
Note: See TracChangeset
for help on using the changeset viewer.