Hi All,
Can anyone tell me if it is possible to copy multiple articles in one hit? (maybe in the tables?)
I have an article I need to replicate about 100 times! as you can imagine, it's quite a time consuming task.
No worries if not - guess I will just have to plough on.
Many thanks,
Paul
Copying an article in bulk
- marcus@localhorst
- Posts: 815
- Joined: Fri 28. May 2004, 11:31
- Location: localhorst
- Contact:
Re: Copying an article in bulk
hi,
you can do this by writing a php script. you can take inspiration from
function copy_article_to_level($do, $dbcon) >> http://www.google.com/codesearch/p?hl=d ... lecode.com
but I think till you wrote a running script you have copied and pasted these 100 articles ^^
(maybe there is another/faster way to do this, but with pure sql it maybe a bit complicated, because you need to copy the row from article and the connected article content from another table...)
you can do this by writing a php script. you can take inspiration from
function copy_article_to_level($do, $dbcon) >> http://www.google.com/codesearch/p?hl=d ... lecode.com
but I think till you wrote a running script you have copied and pasted these 100 articles ^^
(maybe there is another/faster way to do this, but with pure sql it maybe a bit complicated, because you need to copy the row from article and the connected article content from another table...)