[current]
... ok folks, I started fooling with this stuff yesterday. Got it working after some trial-and-error. Only now I hit the wall, really hard. Here's why: to do a relatively simple task (so it may seem).
the task: get a list of messages on a Manila site for a given day (or month), and display the headers. Then have links to a special script that downloads and converts selected messages...
I need to have about 3-4 XML-RPC requests building upon each other. 
- manila.getSiteName (siteUrl)
 this is not really neccesary each time...
- manila.message.calendar.getDaysInMonth (username, password, siteName, year, month)
 fetch all days that had posts- loop: manila.message.getHeaders (siteName, username, password, day)
 get info for each post on the given day... this will run in a loop for each day in the month fetched before...
 
Which is not a problem in itself. But a normal PHP-process times out after about 30 sec. That's the way it's set up by default. So that's the deal stopper with PHP. One solution would be to break up my task into several steps, storing state-info in a file between requests.... another, maybe more practical is to go for Perl or Python etc. and run this thing as a command-line tool...
[ by Martin>]
  []
 
  []
 
similar entries (vs):
- two steps forward... (# 11%)
- task management.... (# 9%)
- next problem / step... (# 9%)
- if you care about PHP and SQLite (# 8%)
similar entries (cg):
 
 Martin Spernau
Martin Spernau 
© 1994-2003
 Big things to come (TM) 30th Dez 2002
 
Big things to come (TM) 30th Dez 2002
Are there sections? Consider transitions
Oblique Strategies, 
Ed.3
Brian Eno and Peter Schmidt
 
 
amazon.de Wunschliste
	usefull links:
	
	
	
	
        
        
 
powered by SBELT