Add Keywords
IMPORTANT: I am no longer maintaining this extension.
It has been transferred to Matthew Faulds at Trafalgar Design. It will remain a free and opensource Joomla extension, and now get the care it deserves. Visit its new homepage here.
IMPORTANT: I am no longer maintaining this extension.
It has been transferred to Matthew Faulds at Trafalgar Design. It will remain a free and opensource Joomla extension, and now get the care it deserves. Visit its new homepage here.
I am unable to access the joomlacode.org area to download your extension. I have an account but am denied access to this particular area.
Thanks Frank
Download links not working… the login page apear
same issue happened to me
Duly fixed, my apologies.
thx admin for your help
test start
Would be really nice if you made a component that could batch create all the keywords in the articles.
@Jeff: A worthy request. Very useful indeed for those who already have numerous articles. I will add it to the feature requests in the tracker and get around to it some day; unfortunately I’m a bit swamped at the moment.
Good idea..but now only for people who use english.
It’s a good idea do add open field to add/edit yours words (black list). Another …add only 3,4,5,6 or 7 Keywords. Thant will be great!
Very nice but it definitely needs the ability to edit the black list. If you have {tabs} or other similar inclusions, they automatically used.
One other feature I have found extremely useful is a parameter to specify which sections and or categories to exclude. This would support the batch processing of multiple files (in support of the component feature suggested on sourceforge). – Ian
All good ideas and some (ability to edit blacklist) already on the feature request list. I can only implement things so fast, however, so I’ll get around to them eventually. If anyone else wants to take a stab at some of them, let me know.
Nice plugin! One thing that would ice the cake is to fill in the robots and author. :-)
seriously cool plug. Thanks.
joomla 1.0 :) ?
great idea , should be part of the core , why would not want too add keywords,
I’ve installed and enabled plugin.
Unfortunatelly it don’t do anything.
I use PHP 5/A[ache 2.x
Nice plugin but its just grabbing keywords from before the read more line.
I just installed the extension and it works. But the problem I’m having is that the articles have to be saved twice in order for the keywords area to be populated. I’ve double-checked numerous times and it doesn’t populate on the 1st save. Any ideas?
tservers
To DmitryGrinberg-Lyandres,
Try saving the article again and see if it populates. That’s the issue I’m having but it does populate after the 2nd save.
tservers
I found the trick that works….. when creating your article FIRST hit the “Apply” button, THEN hit the save button, or you can just hit “Apply” button 2 times and the keywords will populate before you save the article when you look at the meta keywords section.
tservers
@Alek: I noted that the other day. Will hopefully post a fix soon.
@tservers: That’s funny, it shouldn’t have to be done twice. The plugin modifies the data before it gets posted to the database, so I’m not sure what’s up. I have to fix some other bugs in it, so I’ll try to look into that.
Hi great plug but problem. After keywords are inserted and I try to edit some of them out or add a few of my own it does not allow me to save the keyword changes. Also the word “This” gets included into keywords though it’s on the blacklist. Any ideas on why I can’t edit keywords after they get inserted? Permission prob?
Again awesome plugin, I was just thinking of this the other day and here you have it!
@David: See up above under usage. You either use this plugin to generate keywords or you do it yourself. Every time the article is saved the keywords are re-generated so your custom ones will always be removed. You can, with version .2, exclude a specific section or category.
Thanks for this plugin … but this Ä, Ö, Ü letter is a big problem. Can you help?
@Samantha: I don’t think this is something the plugin can fix. It just works on the text that is passed to it. My version seems to work fine with these characters, and even with other alphabets entirely. Perhaps it is your version of PHP or the web browser?
Hi James thanks for your response and duh on me for missing your usage info.
Options on editing to add and or subtract keywords when working with individual articles would be great. For instance plugin leaves out some important words and or includes unnecessary words and it would be nice to edit. This plugin is great though!
It would be great if you also had an administration module in the same vein as the ‘Missing Metadata’ module so that I could tick the articles to apply the generate keywords alorithm on once (I.e. Not every time I save the article). It’s just that for my site, the plugin, while a great little tool for some sites, will just be a little too much of a blunt instrument for others that need more fine-tuning and selective application of keywords, irrespective of section and category.
James – Great little tool – just love it!
Suggested simple enhancement to solve these listed issues – when the process is triggered on the Save event, the current keywords field is tested for content and if length is zero, then tags are generated. If someone edits the article and wants to regenerate tags, they just delete all content from the field. Otherwise once tags are generated, the user can modify/edit as they wish and not lose their work.
Thank you so much for this worthy plugin. Now I finally get some useful results…
One other thing. Could it be possible, when someone handfills the keyword text area. That 50 most used keywords used in other articles show up (via ajax or pull-down or whatever)
Thanx again!
Marquito
@Duke: I think if it allows for custom keywords it will have to be in some other means. Part of the usefulness of the plugin is that it will automatically update if the page is updated. Requiring the clearing of the box in order to update defeats that simplicity.
@Marquito: Not easily possible. The plugin grabs the onsave event and modifies the post data. It would be much more difficult to edit the actual keywords entry form. I’ll leave that for someone else to write.
Made a little change to the code, as I always would like to get the meta-description also filled and more important, if I have already written soemthing by myself into the meta-tag or meta-description field, this schould be kept and not overwritten:
// return the modified metadata for posting
// $metadata = JRequest::getVar(“meta”);
// $metadata['keywords'] = $keywords;
// JRequest::setVar(“meta”, $metadata);
$metadata = JRequest::getVar(“meta”);
if(strlen($metadata['keywords']) < 80)
$metadata['keywords'] = $metadata['keywords']. ($metadata['keywords']==TRUE ? ‘, ‘ : ”) .$keywords;
if(strlen($metadata['description']) < 250)
$metadata['description'] = $metadata['description']. ‘ ‘ .substr(trim($fullText), 0, 250);
JRequest::setVar(“meta”, $metadata);
Maybe this will help somebody
regards
Zappu
@MTW (Zappu): Interesting. The problem is that if your custom metadata is longer than 80 char, then it doesn’t get the auto-generated words added. And if the custom keywords plus the auto ones are less than 80 char, then the next time around they get duplicated.
Hi,
The plugin should select keywords only from the article title, because keywords that are in article lead but not in the title, those are just words.
Danny
Awhile back I dug up a list of 2,000 common English words for a black list. I’ve tried it using this plugin and it seems to work well. You are welcome to use it too.
I also updated the charater removal code on line 112 to get rid of some extra characters that were showing up.
$text = preg_replace(‘/[\.|\'|\"|\`|\,|\(|\)|\-|\!|\#|\@|\$|\?|\%|\&|\_|\;|\:]/’, ‘ ‘, $text);
[List of (2000) words removed by blog owner.]
Does this work when articles are saved from the front end. It works great for me when logged in as admin, but not for users on front end.
Hi!
This is a great plugin, however, it should NOT distinguish uppercase letters from lowercase letters.
For example, “Joomla” and “joomla” is the same word, but your pluging consider two words and will use both on the meta tag.
Everything else is just great! Thank you!
Thank you for “add keyword”
Thank you for “add keyword” it is so usefull
@IceBurn: Good point. I’ve added it to the todo list.
James, Great extension. Works great except for the following small problem (v.2).
Add Keywords will generate the first twelve keywords and then a bunch of empty lines and then the remaining 8 keywords. The final 8 keywords include words on the blacklist, which is how I noticed the problem initially. The meta keywords only shows the first 12, the last 8 keywords only show on the article with the extension “alpha toolbar” with tags enabled.
Any ideas?
The description does exactly what I needed and the “Generate All” worked perfect.
But when I edit an article and save it, no keyword is added to the meta keywords.
The article is with keywords longer than the minimum and the keywords are not on the blacklist. The exclude field is empty.
What else can be the reason?
Klaus
A must have, I think, thanks a lot.
In v.3 I noticed Add Keywords “joins” last word and first word of two different paragraphs.
Maybe it’s a problem expecially for languages different than eng but sometimes I think that to add a whitelist of preferred keywords, if they exist in text, could help to determinate best working keywords.
It could be very useful, also, a component it extracts and exports in text format all keywords and to start from that point optimizing Add Keywords.
Great work, thanks again.
This IS the best meta keyword generator that I have found.
I have a suggestion that additional “weight” or prominence be given to the tags.
And a request to allow user to include the section and category automatically in the keywords, just as you can chose to add the author.
If anyone can advise me how to add the article section and category to my addkeywords.php code I’d appreciate it.
Thank you.
My original comment included a bracketed “h” , but it was stripped out when I submitted it. (I wasn’t trying to spam)
The sentence does not really make sense without a h tag or the word heading-
“I have a suggestion that additional “weight” or prominence be given to the “heading” tags.”
Thanks
This is an old post but I’ve added the ability to specify categories and sections to appear as keywords. 0.6.9 or 0.7bv5. A lot of updates over the past few days!
“Add Keywords” is a great plug in!
I have inserted, for download, in my web site a file called “blacklist_ita_en_add keywords.txt”.
This file contains the blacklist with Italian and English terms for your plug in. If you are interested could you insert this file in you plug in directly.
Hello,
Does anyone know where I can find this blacklist in French please ?
I tried to do one but even with 438 words I’m not getting rid of all of them ! My script needs to be perfect since Im displaying the keywords in the articles with a link on them for a search tool.
thank you !
Vincent
great plugin!
can you create version for joomla 1.x, please?
Nope, sorry bd. The only one I’ve got is for Joomla 1.5. If you want to work on a 1.0 version, I’ll be glad to post it here for you, though I’d suggest you migrate to 1.5–there are a lot of nice new features.
I much liked plagin. Suitable and necessary.
I could not find the plugin in the JED, only on the joomlacode.org – Maybe I had too much too drink – It would be good to have it in the JED as well to provide an alternative to the commercial version
There is no commercial version… You should be able to find it here: http://extensions.joomla.org/extensions/content-a-news/related-items/5701
Only a problem for example in portuguese words have accent…
Ex: República
After Add Keywords process metada I have:
Ex: rep, blica
May a support to charset ISO-8859-1 ? dont know…any sugestion?
Turkish character does not see this plugin,
Examples: ğ, ö, ü, ş not see the letters,
that is, the word “şelale”, “lale” is written as
I tried upgrade to ver. 0.6 with “simply install without uninstalling to upgrade” but it doesn’t seem to replace .php and .xlm.
Then I manually replaced files on server and in addk plugin options page I had no more parameters.
I put language file in language folder…
At current time I’m back to 0.5 ;)
Hi
@FabZ and anyone else moving on to v0.6
I’m sorry for any misunderstanding but the upgrade to 0.6 has to be done the old way. Uninstall v0.5 and then install v0.6 via the normal route. Thereafter, any upgrades can be done via “simply install without uninstalling to upgrade”
Sorry that wasn’t clear!
In the back end it appears to be generating all the keywords and descriptions but when I view the page in the front end and view source there are no keywords or description, even after clearing the browser cache and refreshing the twice-saved page. I check the backend and the keywords are still there, but they aren’t reaching the front end somehow. I’ve tested that I am getting the latest save of the page by adding a word to it as I save it, but its not getting the meta data. I’ve tested this in Firefox and IE 7.
On another issue, I found that if I had Regenerate ALL checked then the keywords disappeared from the back end if I opened the article editor a third time, with just a coma. Save it and reopen it and they are there again. It doesn’t do this if Regenerate ALL is unchecked.
Hi Eric
Could you let me know what version of AddKeywords you’re using? I recommend the latest version, 0.6.1 which is a recent minor bugfix.
Your first problem has nothing to do with AddKeywords I’m afraid. Joomla can override your articles meta-data if you have set global meta-data to be used (in Global Configuration). To allow the meta from each article to be “seen” in the front end, make sure the global meta data text boxes are empty. I’m sure this is the answer, but if not, please let me know what happens when AddKeywords is not activated (unpublished) or uninstalled. Do you see the meta data in the frontend?
The second issue I cannot recreate using v0.6 or v0.6.1. “Regenerate All” is working well for me on Joomla 1.5.14 with around 1400 articles. More information on you setup would be needed to work out what the problem is.
For those who would like to be able to manage the way the meta-data is accessible in the frontend more easily, have a look at the 0.7 beta which is available at the SVN at . This version allows you to set meta-data for menus. Unlike any other solution available, you can have the meta-data from the articles used for those articles, not the parent menu’s meta-data. Sounds complicated? It’s simple when you play around with the settings.
SVN is at http://joomlacode.org/gf/project/addkeywords/scmsvn/?action=browse&path=%2Ftrunk%2F
Unistalled 0.5 and installed 0.6, now it works fine.
…copy-past in a txt your blacklist and whitelist or will be overwritten ;)
Thanks to James and Matthew
I had the same issue as eric.
I selected Regenerate ALL and the descriptions were posted but all the keywords were replaced with just a coma.
This was a real problem as I had to resave 900 articles individually to get the keywords back in.
Hi Corina
Please let us know if you have a problem and don’t go re-saving every article on your site. What a nightmare! What version of Joomla, PHP and AddKeywords were you using please? See the post above, but I can’t recreate this problem…
Thanks Matthew,
I’m using joomla 1.5.14 v.6:keywords and I am running php 5.0 on bluehost. I just downloaded .6.1 keyword and I’ll give it a try.
I was a little afraid to set it ti refresh all, but it looks like it works perfectly in.6.1.
Thank you!
Corina
I will try the 61 version, but i read also that google doesnt pay attention to keywords, so not sure what use this is at this point. Any ideas?
hi,
i was wondering if it’s not possible to generate keywords with a chronos at those articles where keywords=0? is this possible? can you help me to do this?
thank you.
This could be added. How are you trying to access AddKeywords? It has a basic API (undocumented at the moment) which allows you to generate keywords/descriptions for articles without firing the plugin. You can also regenerate all. Why don’t you post more details and a feature requests over at joomlacode http://joomlacode.org/gf/project/addkeywords/tracker/
Hi Matthew,
I was tweaking my blacklist to fine tune the keywords. Regenerate all now gives me a comma in the field. To view, look at any page other than the home page on homeremedycentral.com.
@ Corina
Could you fill in a bug tracker at http://joomlacode.org/gf/project/addkeywords/tracker/?action=TrackerItemBrowse&tracker_id=7946 with info like you posted above. Could you also put on your offending blacklist.
I can’t recreate the problem your describing on my server following a few changes to the blacklist…
I posted it on bug tracker.
I’ve been running some additional tests- My setting’s are 4 char to qualify as a keyword, and 15 keywords per article. This might be related to “add author” to keywords. When I set this to no (was yes) and reran “regenerate all” my keywords came back.
Check out v0.6.5 – http://joomlacode.org/gf/project/addkeywords/frs/?action=index
@Corina – this fixes the issues you were having. A glaring (once I found it!) code mistake…
@Eric – further enhancements to international character support. This version is much better. As for Google and keywords etc. they seem to be helpful if you don’t overdo it and have individual keywords for different pages. However, if your keywords don’t match anything on the page that is unhelpful and Google marks you down apparently. The main benefit from my point of view is good SEO practice and for the related items module/tag clouds etc. Autogeneration is very helpful when you’re maintaining lots of articles or lots of sites…
I’m having difficulty with the parameters to set the description length.
My site has several periods at the beginning of the article as we list the species and genus. The plugin’s primary reliance on the number of sentences is giving me a very large variation in the size of my description.
I have researched meta description and found that Google gives you ~150 characters, Yahoo ~165, and MSN ~200. While longer meta descriptions are not “wrong”, a shorter number of characters could be presumed to be “unhelpful”. Regardless, these are the documented limits of characters that will display in the SE results.
Because of this, I think you could simplify description settings quite a bit by allowing the user to simply select the number of characters to include in the description. There’s too much variation using sentence as the primary limiter.
Here’s some info google posted.
groups.google.com/group/Google_Webmaster_Help-Indexing/browse_thread/thread/7c5dc8cbb5f07dcd
googlewebmastercentral.blogspot.com/2007/09/improve-snippets-with-meta-description.html
This could be added but I chose not to implement a character count as it would potentially split words which I viewed as unhelpful. Would the ability to set a word count or a sentence count be useful? The output might not include punctuation from your article…
Hi Matthew,
If we can’t specify characters, then word count would be better for me- At least not forcing sentence count to be the primary. How about allowing the primary settings to be selected by the user, EITHER #char, #words, or #sentence?
The desc meta is shown to the user only when they view your site in the search results. If google or other se says they only look at x num characters, then that’s good enough for me.
Thank you so much for an excellent plug-in.
I love your plugin. Thank you for very much for creating. I have one requested addition. In my administrator area (cpanel) it shows me a list of articles with ,,missing metadata items,,
I have to click each article and resave, even if I attempt a regenerate all from the plugin.
Id ask that there is some way to generate metadata information for these articles only, and clear them from the list.
Too, clarify what specifically ,,Empty Description,, and ,,Empty Keys,, are in this list.
Thank you for all your effort. This is a very valuable tool.
Cheers
@Tim
Thanks! Can you check what version of AK you’re using please? Please post in the bug tracker if it’s 0.6.5 and you’re having difficulties with regenerate all. Otherwise, please update as there was a problem with regenerate all in earlier versions.
Any feature requests are best posted in the tracker at http://joomlacode.org/gf/project/addkeywords/tracker/. I’ll think about it though. You’re not the first to ask…
Apologies, 0.6.6 is the latest version.
Thanks Matt. I didn’t know where to post the suggestion. I’m a JoomlaCode/ Forge – virgin. I installed 0.6.6 yesterday, but had been using 0.6… Cheers.
@Corina and TimS
Try 0.6.7 available at the frs. ;)
Tim, I’d like to know if regenerate all is still not working. Thanks.
Hi Matthew,
The character count works! I notice it’s applying formatting effects (p/br, etc) to the description in the meta, just as you’d view it on the formatted page. Is there any way to make the text a continuous line such as the num words or sentences are included?
PS. This plugin is brilliant and very helpful. Thank you very much. (I hope you don’t think I’m a whiner).
Hi Corina
AK doesn’t apply any formatting – in fact it strips it all out. If you look at the description in the database you should see plain text only. Use phpmyadmin and look at jos_content and the metadescription column (just in case you don’t know where to look!) ;)
I’ve actually just released 0.6.8 as I realised that the descriptions weren’t being cleaned of html entities, annoying things like ’ etc. There are no other significant changes.
I’ve also a word of caution regarding the character count. If you have non-English characters, and that includes things like £$% etc. these will take up more than one character. This is because UTF-8 encoding allows other letters by encoding in up to 4 characters. This means that if you have words with accents and special characters your description may appear much shorter than the set value. There may be some workaround but I’ve not time to work it out at the moment.
Hi Matthew,
I’ve loaded and double checked this in 0.6.8. If you view the meta in my privacy policy you’ll see what I mean.
It looks exactly like this phpadmin too.
——————
Privacy Policy
Your privacy is protected with us.
We will never rent, sell, release, disclose, or otherwise disseminate your personal information without
—————————
I think it’s adding any (CR) or all the /r/n that you can see in the sql if you do a table export.
I installed 0.7bv3 — worked beautifully for regeneration and admin panel missing meta added.
Partly my fault, as i was installing new plugins over old plugins. It appeared to be updating but wasn’t.
*** VERY IMPORTANT *** Uninstall the older version before installing the new one.
Thanks James.
Can I contribute anywhere?
tim
Not to me! I don’t actually work on this much anymore, it’s all Matt. He should see your comment, or you can find him at trafalgardesign.com
Tim,
You can simply upgrade via the Joomla installer once you have installed 0.6+. Any version below HAS to be uninstalled before upgrading.
Matt
@Corina
Versions 0.6.8.1 and 0.7bv4 should improve this functionality as they now strip all newlines and test for repeating whitespace. Unfortunately, it is not completely foolproof. I’ll have to think about that one. You’re hard to please…. ;)
Hm… this thin column format is pretty brutal on long comment threads. I may have to change that…
Beautiful. Thanks
All following this should be advised that 0.6.8 and 0.6.9 introduced some new bugs which should be fixed by 0.6.9.1. Regenerate all became unstable. Anyone using those versions is advised to upgrade and let me know of any other problems. Otherwise, this is the last 0.6.x release.
Hi, nice plugin.. but when there is an other plugin top of your article, it doesn’t work. It stops because of the {pugin} brackets.. it think..
Thanks,
Ron Sahertian
Hi. No plugin should be able to stop AK working. However, if your plugin is inserting text into the article it will not be processed by AK. All plugin calls are stripped out purposefully. Which plugin is it? What’s happening?
Hi, I’m not able to get the plugin to generate keywords on existing articles using the default settings. The articles were all copied and pasted from the client’s current web site to the beta site I’m developing. Any reason why I don’t see any keywords or meta tags on any of my articles?
The site is http://aznkba.info/joomla
Hi Mike
What version of AK are you using? Have you made sure the plugin is published and that the keyword and description generation is turned on? If you look in the admin interface, when you click “apply” when editing an article, do the keywords or description update with the AK generated ones?
New and final 0.6.x release is 0.6.9.2. You can now parse the article title for keywords and also add … to the end of your descriptions. Minor change to keyword generation to put whitelist keywords first so that they have slightly higher positioning/weighting.
Watch out for 0.7RC1 soon with some interesting new features… Article keyword based tag lists…
Hi Matt,
AK just keeps getting better and better. Thank you very much!
0.7RC1 now on FRS. Enjoy!
Thanks James and Matt for your time and effort in continuing development of this. It’s awesome.
Don’t thank me. It’s all Matt.
Hi all
AKRC2 has been released. This fixes a couple more issues such as unreliable “process only when empty”. The code has been tidied a little further and a few more options have been added.
From now on, support for AK will be via http://www.trafalgardesign.com/forum/6-add-keywords and I will only be checking here every now and again. A series of FAQs, screenshots etc will be available over on trafalgardesign.com soon too.
Thanks
Matt
Thanks very much for the plugin. It will make a big difference on some of my sites.