"John P . Looney" <[EMAIL PROTECTED]> said:
> I just dumped out everything, with;
>
> repligard -m -d -a -e dump.xml.gz -c /usr/local/etc/repligard.conf
>
> and it made a nice big file of about 900k. I uncompressed it, and went to
> edit some stuff (just to make sure it was working).
>
> I re-imported the whole lot with;
>
> repligard -m -d -i dump.xml.gz -c /usr/local/etc/repligard.conf
>
> And didn't see any changes (basically, I did a search & replace on the
> word "Description:" trying to find out where Asgard stored the code for
> pages like "http://midgard.linux.ie/asgard/topic/view/23.html").
>
> Am I doing this correctly ?
I'm not even sure this is in the manual :)
repligard export puts out
<page id="3333ssssssaa" updated="343948394">
where the last one is the Unix timestamp of the export.
when importing, it checks to see if the updated time is > than the updated (&
changed?) time in the database..
so when you re-imported, the time stamp would have been the same on both
imports so repligard decided not to import it.
In terms of best way to do this ... editing large xml files may be
painfull... but I can see the problem
"grep word * -r" works well on text files but there is no easy solution in
midgard to solve the same problem...
except for building a 'hard' search - getting every object and ereg'ing it!
emile says MnoGoSeach could do something similar..
>
> John
>
> --
> When I say 'free', I mean 'free': free from bond, of chain or command:
> to go where you will, even to Mordor, Saruman, if you desire. "
> -- Gandalf, paraphrasing the choice between Free and Non-free software
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
Technical Director
Linux Center (HK) Ltd.
www.hklc.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]