Summary.Net Archives
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Summary-Talk] Auto install new reports?



on 4/27/05 10:51 AM, Jason Linhart at jason@summary.net wrote:

> Mike wrote:
>> 
>> Is there a way to add a new sub-report to Summary via the command-line
>> in OS X.
> 
> Yes, and no. You can only add sub-reports using the web interface, but
> so long as Summary is running you can access the web interface from the
> command line using a tool like wget or curl. You would need to study the
> form Summary puts up for creating sub-reports and supply the same fields
> in the POST arguments. wget and curl can both do that, see their
> documentation for details.
> 
> Good Luck
> Jason


In case anyone else needs it...


Domain="somesite.com"

curl -d
"Set=9999&SiteName=$domain&SiteDisable=0&Domain=www.$domain&ReportName=&Repo
rtPass=&SetKey=$domain&EMailAddr=&AltDomain=$domain&SServList=$domain,www.$d
omain&SFileList=*&SNotes=" -u username:password
www.summarysite.com:9000/update




+--------------------------------------------+
Mike Yrabedra
Mac@gent.com
Your Mac Intelligence Resource
+--------------------------------------------+
W: http://www.macagent.com/

-------------
Go to <http://summary.net/list.html> to update subscription info.