You got any documentation on the addstory() call?
Post by Luis MPost by Matt WisemanI'm running the latest version of slash and am trying to import stories
from another system into it.
I can pull stories no problem, but if I just insert them into
psl_stories everything breaks. What's the proper way for me to do this?
--
Matt "TrollBoy" Wiseman
You might have to check the form for creating new stories and see what
fields are required for every story. Then write you own script that use the
addstory() call from the classes ;-)
Joe can correct me on this, but there are many variables that need to be
set/modified/increased when a new story is added. So, instead of trying to
write to the db directly, you are better off trying to use a PHP script
(from the command line maybe) that does this for you using the existing API.
----)(-----
Luis Mondesi
System Administrator
LatinoMixed.com
"We think basically you watch television to turn your brain off, and you
work on your computer when you want to turn your brain on" -- Steve Jobs in
an interview for MacWorld Magazine 2004-Feb
No .doc: http://www.fsf.org/philosophy/no-word-attachments.es.html
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Phpslash-devel mailing list
https://lists.sourceforge.net/lists/listinfo/phpslash-devel