Adding Keywords
Started by
bergstenmusic
, Feb 01 2008 09:20 PM
4 replies to this topic
#1
Posted 01 February 2008 - 09:20 PM
Is there an easier way to add multiple keywords to pages?
#2
Posted 01 February 2008 - 09:29 PM
you have to choose them from the list?
#3
Posted 02 February 2008 - 12:11 PM
If you are OK with phpMyAdmin, you can write a query that will take the keyword id(s) (from your [prefix]_site_keywords table) and add them to the [prefix]_keyword_xref table against the documents that you want them to appear in.
If you are proficient with phpMyAdmin, you could write a query that inserts keywords depending on a variety of criteria. See http://www.w3schools...l/sql_intro.asp for more on writing custom queries.
INSERT INTO `etomite_keyword_xref` (`content_id`, `keyword_id`) VALUES ('1', '1'), ('1', '2');Which would insert the document id #1 with keywords id 1 and id 2.If you are proficient with phpMyAdmin, you could write a query that inserts keywords depending on a variety of criteria. See http://www.w3schools...l/sql_intro.asp for more on writing custom queries.
#4
Posted 02 February 2008 - 02:44 PM
You could also just use a hard coded keywords meta tag in your page template... I use this method for smaller sites which only require a few generalized keywords rather than page specific ones... When I use this method I either edit any meta tag snippet I may be using to not generate the keyword tag or simply use and entirely generic meta tag block in the template... I'm looking to replace the multi-select box for checkboxes in the next major release...
#5
Posted 04 February 2008 - 05:28 PM
awesome, thanks. That'll save me a bunch of time
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











