***: peterthoeny has joined #twiki
ChanServ sets mode: +o peterthoeny
jconkey has joined #twiki
jconkey has quit IRC (Read error: 104 (Connection reset by peer))
jconkey has joined #twiki
jconkey has quit IRC (Read error: 60 (Operation timed out))
pillbox has quit IRC (Remote closed the connection)
pillbox has joined #twiki
Cain` has joined #Twiki
Cain has quit IRC (Connection timed out)
Cain` is now known as Cain
peterthoeny has quit IRC ()
fr_ has joined #twiki
SopanShewale has joined #twiki
SopanShewale: hi fr_
you had some question - did you get the answer?
Dae``: [14:19] * SopanShewale (n=sopan@111.125.197.209) Quit (Read error: 60 (Operation timed out))
[15:26] <fr_> yeah
[15:26] <fr_> i think i figured it out.. was just creating a new topic ending with "Template" :)
[15:27] <fr_> didn't find this in the documentation from the beginning, thanks anyway
SopanShewale: hmm.... documentation needs to be improved
request you to contribute some where on the site - that might be helpful to others
thx
***: hellmachine has joined #twiki
fr_: SopanShewale: hi
i got the answer, yes. i can file another ticket at some point
***: SopanShewal1 has joined #twiki
SopanShewale has quit IRC (Read error: 60 (Operation timed out))
SopanShewal1 has left
jconkey has joined #twiki
jconkey_ has joined #twiki
jconkey has quit IRC (Read error: 110 (Connection timed out))
jconkey_ is now known as jconkey
jconkey has quit IRC ()
jconkey has joined #twiki
TWikiGuest has joined #twiki
geck has joined #twiki
geck: is there a suggest perl module for handling auto-publishing remotely?
the ones I see are either
1.) old
2.) view-only
***: TWikiGuest has quit IRC (Client Quit)
TWikiGuest has joined #twiki
TWikiGuest: Im a newbie at all of this. but i just installed TWiki. And i can't get into the configure page. Keep asking me a for a username/pw
geck: on your server's shell: htpasswd -c (twikipath)/data/.htpasswd <username>
***: TWikiGuest has quit IRC (Client Quit)
TWikiGuest has joined #twiki
TWikiGuest: when i first setup told me after creating a user for myself, to edit Main.TWikiAdmingroup
***: peterthoeny has joined #twiki
ChanServ sets mode: +o peterthoeny
TWikiGuest has quit IRC (Client Quit)
peterthoeny has quit IRC ()
SopanShewale has joined #twiki
hellmachine has quit IRC ()
TWikiGuest has joined #twiki
TWikiGuest: i cant get in my configure page
***: TWikiGuest has quit IRC (Client Quit)
peterthoeny has joined #twiki
ChanServ sets mode: +o peterthoeny
peterthoeny: geck: what kind of auto-publishing do you need?
***: TWikiGuest has joined #twiki
TWikiGuest: Hello all! Im a newbie at all this. I've installed TWiki :) But i cannot get into the configuration page. Keeps asking me for a username and password. Not sure what to do.
am i missing sumthign?
***: TWikiGuest has quit IRC ("ChatZilla 0.9.85 [Firefox 3.0.15/2009101601]")
geck: peterthoeny: basically I have some docs here in twiki format
that I'd like to get on the server
without having to manually post them
I could write a WWW::Mech script to do it
but that would be a pain :)
I'd also like to be able to update these at will
peterthoeny: so you need to update pages or create new pages?
geck: both
but, yes :)
peterthoeny: in older twiki you could simply do that with url, such as: ../twiki/bin/save?text=foo+bar, but this is no longer possible due to security risk
you still can do that if you use method=post instead of method=get
http://twiki.org/cgi-bin/view/TWiki/TWikiScripts#save
if you have a page with a twiki form you can update form fields via parameter, such as: City=San+Francisco
so you need mechanize, curl or the like to update content
alternatively, you could dump files in twiki format directly into the twiki/data/Someweb directory on the server
that directory could be nfs mounted if needed
the twiki engine is forgiving, it does not matter if the page history files is missing
geck: hrrm.. does twiki auto csv them
or is that not all the...
gotcha
perfect >:)
peterthoeny: it will be created the first time someone edits the page via browser
so:
1. file without history
2. user edits, modifies and saves page via browser
3. you get two versions for page: r1 = original text of file, r2 = content when page was saved
when you dump files watch out for existing pages
geck: what if I were to do a ci on the file when I uploaded?
peterthoeny: i do not recommend that since twiki does other stuff on save, such as call plugin hooks, email change notification etc
so another way is to create a small script that runs on the twiki server that does the save via twiki::func api calls
***: SopanShewale has quit IRC (Read error: 113 (No route to host))
peterthoeny: http://twiki.org/cgi-bin/view/TWiki/TWikiFuncDotPm
geck: mmm proper pods everywhere I look
-: geck works for a perl shop with 500k+ lines of code and maybe ~1k lines of comments
geck: So,w hat's this publish.pm thing one of our sysadmins sent me?
looks like you wrote it
peterthoeny: i am not aware of a publish.pm
***: rfxr has quit IRC (Read error: 110 (Connection timed out))
fr_ has quit IRC (Remote closed the connection)
geck: wierd, it has (C) 2002 Peter Thoeny on it
anyways, going with an rsync method
***: peterthoeny has quit IRC ("Connection reset by beer")
eberon has joined #twiki
rfxr has joined #twiki
AnneGilles has joined #twiki
peterthoeny has joined #twiki
ChanServ sets mode: +o peterthoeny