Direct DB Insert
-
hello. ive searched for this and found one other post but it wasnt really what i was looking. Here is my q tho. Im going to make a direct insert into the database so that i can post new articles externally. The reason I am doing this is quite longwinded so I wont go into details, but it is my beleif that it the best way to achieve what i need to do. if you want more details ill tell ya. my point is, the insert will not be a problem, insert into wp_posts blah blah. and the catagorys. I am mostly concerned about the postmeta. see when i post an article through the sub panel of course WP makes all this nice fanct stuff in the postmeta table like :
“a:6:{s:15:”itunes:subtitle”;s:15:”##PostExcerpt##”;s:14:”itunes:summary”;s:15:”##PostExcerpt##”;s:15:”itunes:keywords”;s:17:”##WordPressCats##”;s:13:”itunes:author”;s:10:”##Global##”;s:15:”itunes:explicit”;s:2:”No”;s:12:”itunes:block”;s:2:”No”;}”
with the meta key “podPressPostSpecific” sometimes it is the same, and it seams sometimes its different. like a “_enclosement” or “enclosure” with a flag. i dont want to lose this stuff because I fear i may lose SEO without all that crazy stuff. I want to keep it automated by WP incase it has some kind of system that gives keys to certain things. BTW I am using the autometa Plugin too.
do you think it would be possible to insert new articles externally and let WP take care of the postmeta data.
I mean i suppose if i really wanted to i could just program my insert query script to do it, but I am a lazy SoB and I am looking for the easiest way possible.
any help is appreciated. thanx.p.s. sry if this is in the wrong section i didnt really know what section to put it in
The topic ‘Direct DB Insert’ is closed to new replies.