i have a php page:
htttp://mydomain.com/page/info.php

this page generate one or two lines of information. no GUI, just plain 
text. So i would like to take that info and show it in boltwire page. And 
curl could help me a lot.


Thanks, 
  Tadas

On Wednesday, 21 August 2013 09:05:50 UTC+3, mz wrote:
>
> Can you give some more details?
> Is this website somewhere else or is it in another field or is it inside 
> your field?
> Your field = your main page pages folder.
> Another field = a second field of your main boltwire installation.
>
> Greetings, Martin
>
> Am Dienstag, 20. August 2013 16:14:18 UTC+2 schrieb tadas andriuska:
>>
>> it would be good if someone could tell me how to use this:
>> <code>
>> /usr/bin/curl "http://www.domain.com/field/index.php?p=cron"; &> /dev/null
>> </code>
>>
>> I have a web site with one line. it would be perfect for me if curl could 
>> take that one line and show it, but it does't work or i don't know how to 
>> use it.
>>
>>
>>
>> On Monday, 19 August 2013 11:41:05 UTC+3, mz wrote:
>>>
>>> Of course you can. 
>>>
>>> You can take any text file, dump it directly into your pages folder and 
>>> access it immediately. Just text, nothing else.
>>>
>>> You can put any file into your files folder too.
>>> If you want to create a search for files that are in your files folder 
>>> use search dir=files.
>>> Lets say you have a couple of covers in a folder covers that is stored 
>>> inside your files folder you can use this: 
>>> [(search dir=files/covers type=jpg fmt="[^{+p}.jpg dir=covers^]")] 
>>>
>>> If you want to fetch content from somewhere else of the web into your 
>>> installation I would start this way:
>>> - Create a script that fetches the content you like from the web. Your 
>>> script should open a page, fetch the interesting parts and write these to a 
>>> document in your pages folder. In php there are many ways to do that. You 
>>> can use helpers like Yahoo pipes or YQL from Yahoo. You can create 
>>> subfolders in your page folder for these pages you create with that script.
>>> - Wrap your script into a boltwire function. Put that function somewhere 
>>> on a boltwire page. Call this page in your browser or use a cronjob for 
>>> that.
>>> - Create a search with a template to do something with the content you 
>>> got with your function.
>>>
>>> Greetings, Martin
>>>
>>> Am Dienstag, 13. August 2013 14:37:19 UTC+2 schrieb tadas andriuska:
>>>>
>>>> Hello, 
>>>>   Is it possible to take data from another websites ? or from files 
>>>> uploaded on web directory ?
>>>>
>>>> Thanks, 
>>>>    Tadas
>>>>
>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"BoltWire" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/boltwire.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to