

True. I assumed that the site has some kind of focus, not just everything and anything.
for a blog site that publishes an article(s) on everything and anything everyday it will be quite annoying to remember to update the list everytime... Just my thoughts... I know I’ll find it annoying anyway![]()
The phrases will only work with an include list. Otherwise it would be hard - I mean: impossible - to figure out what to treat as a word and what as a phrase. And, in the end: I do not think you want to end up with a mess of phrases in keyWORDS...
3. The page should be scanned for phrases as well as single words
No problem: a keyword, in the technical sense of the term, is just a sequence of characters (including the space character) delimited by a delimiter (a comma, for instance). Feature already present in the existing snippet.
Good, makes life easy
I guess with "user" you mean a "manager" or admin. Webusers (like guys who just post to the blog) are not concerned with keyword-management - nor should they.
5. The snippet should let the user define keywords/keyphrases that are generic and will appear at the end of the keywords everytime the snippet in called
I guess this should be done in the template or in a template-variable. No problem either.
I know the snippet isn’t technically hard to create, just with I knew some PHP
There is a type of concurrence coming up here, since the "MKG" might not be the only snippet in action. So: who comes last and scans the output of the rest? Since there is no option right now to configure the sequence of snippet-execution this will be a matter of testing and trying...
Will the MKG also read: page title, H1 tags, page name, meta description, title tags, a href=, link text, li tags, in get it’s keywords???
It will read everything which is outputted as the content of the page, normally everything between <body> and </body>
Can you make it scan the page from <html> to </html> or rather from html to </html> because I use <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> as the first html tag... or even <head> to </body> ... I only say this because the <title> and "meta name="description" content" tags are always full of keywords
. So it might take just another two posts to get things done as well as they can be done at the moment in MODx 0.9.2 ... 
... Here goesI assumed that the site has some kind of focus, not just everything and anything."Assumption is the mother of all f**k ups"... Had to through that in as it’s one of my fav quotes hehehe
The phrases will only work with an include list. Otherwise it would be hard - I mean: impossible - to figure out what to treat as a word and what as a phrase. And, in the end: I do not think you want to end up with a mess of phrases in keyWORDS...Oh I think we most definatly want phrases in keywords! (as well as keywords)... Do you not use keyphrases in Meta keywords?
I guess with "user" you mean a "manager" or adminSorry yes that what I meant
2ND EDIT: And if we do so, we should definitely change to PM/Email, since this will be of no interest for the rest of the community!No way, this will be a very popular snippet.. in fact I think it will make it into the next release of MODx lol... well maybe
This discussion is closed to further replies. Keep calm and carry on.