I didn't receive anything. Did you sent it per email? If you did so, please send it again, I've reduced Spam settings of my account... thanks in advance.I've sent you a version to test whether its the local file thingy.
[EDK4] Cronjob update all prices from eve-central
Re: [EDK4] Cronjob update all prices from eve-central
Re: [EDK4] Cronjob update all prices from eve-central
The new script receive the following error message:
P.S.: I'll be on vacation until saturday.#!/usr/bin/php
Fatal error: Uncaught exception 'Exception' with message 'String could not be parsed as XML' in /www/htdocs/w00f6769/killboard/common/includes/class.valuefetcher.php:104 Stack trace: #0 /www/htdocs/w00f6769/killboard/common/includes/class.valuefetcher.php(104): SimpleXMLElement->__construct('<!DOCTYPE HTML ...') #1 /www/htdocs/w00f6769/killboard/cron/cron_evec.php(181): valueFetcher->fetch_values() #2 {main} thrown in /www/htdocs/w00f6769/killboard/common/includes/class.valuefetcher.php on line 104
Re: [EDK4] Cronjob update all prices from eve-central
Any new solution???
Re: [EDK4] Cronjob update all prices from eve-central
Could you maybe try just to fetch this xml with the value fetcher?
http://brgf.de/prices/marketdata.xml
Just to check if that is working?
thanks!
http://brgf.de/prices/marketdata.xml
Just to check if that is working?
thanks!
Re: [EDK4] Cronjob update all prices from eve-central
I have made a test with the xml-data above, I receive the following error code:
#!/usr/bin/php
Warning: file_put_contents(cache/marketdata20150117.xml) [function.file-put-contents]: failed to open stream: Permission denied in /www/htdocs/w00f6769/killboard/cron/cron_evec.php on line 176
Fatal error: Uncaught exception 'Exception' with message 'String could not be parsed as XML' in /www/htdocs/w00f6769/killboard/common/includes/class.valuefetcher.php:104 Stack trace: #0 /www/htdocs/w00f6769/killboard/common/includes/class.valuefetcher.php(104): SimpleXMLElement->__construct('<!DOCTYPE HTML ...') #1 /www/htdocs/w00f6769/killboard/cron/cron_evec.php(181): valueFetcher->fetch_values() #2 {main} thrown in /www/htdocs/w00f6769/killboard/common/includes/class.valuefetcher.php on line 104
Re: [EDK4] Cronjob update all prices from eve-central
Hmmm
I'm afraid if the xml above does not work it's some issue with the value fetcher class itself. Right now I'm out of ideas.
Sorry about that.
I'm afraid if the xml above does not work it's some issue with the value fetcher class itself. Right now I'm out of ideas.
Sorry about that.
Re: [EDK4] Cronjob update all prices from eve-central
Doesn't matter, thanks for your support and help. Then we have to use the old price-fetcher.prometh wrote:Hmmm
I'm afraid if the xml above does not work it's some issue with the value fetcher class itself. Right now I'm out of ideas.
Sorry about that.
Re: [EDK4] Cronjob update all prices from eve-central
The old fetcher does not get price updates any longer but Salvoxia implemented fetching via CREST as default I guess. What I was asking you is to use the URL http://brgf.de/prices/marketdata.xml in the admin section under Item values and then just klick fetch. Sorry if i was not clear about this.
Re: [EDK4] Cronjob update all prices from eve-central
Well, as you said, the default is now the CREST value fetcher. So using the URL to the old-style price XML in the ACP will cause the CREST value fetcher to try and parse the XML, which will fail.
For testing your XML you have to hardcode it (into the cronjob, for example).
For testing your XML you have to hardcode it (into the cronjob, for example).
Re: [EDK4] Cronjob update all prices from eve-central
Hi all,
Raven Kaundur asked in the eve central value fetcher topic about changes to make it compatible with www.evemarketer.com.
I took the liberty to modify Snitch's eve-central cron job to fetch from EveMarketer and called it cron_evem. The basic principle is still the same, as described in the opening post. The only limitation to EveMarketer's API is that it does not allow for multiple region filters, so the "trade hubs" flag has been removed from this version. EveMarketer's API does, however, allow for a "usesystem" flag to filter for orders in one particular system. I used this opportunity to filter for Jita specifically.
Best Regards,
Salvoxia
Raven Kaundur asked in the eve central value fetcher topic about changes to make it compatible with www.evemarketer.com.
I took the liberty to modify Snitch's eve-central cron job to fetch from EveMarketer and called it cron_evem. The basic principle is still the same, as described in the opening post. The only limitation to EveMarketer's API is that it does not allow for multiple region filters, so the "trade hubs" flag has been removed from this version. EveMarketer's API does, however, allow for a "usesystem" flag to filter for orders in one particular system. I used this opportunity to filter for Jita specifically.
Best Regards,
Salvoxia
- Attachments
-
- evem_valuefetch_10.zip
- EVEMarketer ValueFetch v1.0 for EDK 4.4.x
- (4.48 KiB) Downloaded 463 times
-
- cron_evem_v_0_4.zip
- Value Fetcher cron job from evemarketer.com, based on Snitch Ashor's cron_evec
- (2.45 KiB) Downloaded 586 times