ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
68302
|
Sun Apr 24 02:09:47 2016 |
| Alan Grant | agrant@winnipeg.ca | Question | Windows | 3.1.1 | How to login and export to CSV using wget? |
Is it possible to use wget to log into elog and export all of a logbook's data into a CSV file?
I can accomplish this perfectly when authentication IS NOT required by using: wget --no-check-certificate -O e:\export.csv http://localhost:8080/demo/?mode=CSV1
However, I cannot accomplish it when authentication IS required by using: wget --no-check-certificate -O e:\export.csv "http://localhost:8080/demo/?mode=CSV1&uname=agrant&upassword=skipper"
The latter appears to show that I've logged in, but the export file only contains a bunch of HTML tags, not the actual data as in the former.
How should I construct the wget command?
|
68303
|
Sun Apr 24 06:49:33 2016 |
| Alan Grant | agrant@winnipeg.ca | Question | Windows | 3.1.1 | Re: How to login and export to CSV using wget? |
UPDATE:
After days of head banging and trying different syntax combinations, I finally stumbled on my own answer. It involved some syntax adjustments, and then splitting the task into these two consecutive operations:
1. wget --no-check-certificate --cookies=on --save-cookies cookies.txt --keep-session-cookies -O e:\export1.csv "http://localhost:8080/demo/?uname=agrant&upassword=skipper"
2. wget --no-check-certificate --cookies=on --load-cookies cookies.txt --keep-session-cookies -O e:\export2.csv http://localhost:8080/demo/?mode=CSV1
All is working fine now.
Alan Grant wrote: |
Is it possible to use wget to log into elog and export all of a logbook's data into a CSV file?
I can accomplish this perfectly when authentication IS NOT required by using: wget --no-check-certificate -O e:\export.csv http://localhost:8080/demo/?mode=CSV1
However, I cannot accomplish it when authentication IS required by using: wget --no-check-certificate -O e:\export.csv "http://localhost:8080/demo/?mode=CSV1&uname=agrant&upassword=skipper"
The latter appears to show that I've logged in, but the export file only contains a bunch of HTML tags, not the actual data as in the former.
How should I construct the wget command?
|
|
Draft
|
Wed Aug 10 15:40:49 2016 |
| Alan Grant | agrant@winnipeg.ca | Question | Windows | 3.1.1 | Quick Filter not searching |
With all of our instances of Elog where we have Quick Filters enabled, any filter that we input characters into does not search the server when we press enter (there is no "Search" button). Interestingly, it will only search when we click anywhere on a blank area of the Elog interface. Is that the intended procedure for searching? |
68380
|
Wed Aug 10 16:46:09 2016 |
| Alan Grant | agrant@winnipeg.ca | Question | Windows | 3.1.1 | Quick Filter not searching on Enter |
With all of our instances of Elog where we have Quick Filters enabled, any filter that we input characters into does not search the server when we press enter (there is no "Search" button). Interestingly, it will only search when we click anywhere on a blank area of the Elog interface. Is that the intended procedure for searching? |
Draft
|
Thu Aug 11 16:22:26 2016 |
| Alan Grant | agrant@winnipeg.ca | Question | Windows | 3.1.1 | Re: Quick Filter not searching on Enter |
Yes it works fine in this forum. Interesting that when I open my problem instance from latest Chrome it works fine but not IE 11. I'll dig into browser settings and post back when I have more info.
Andreas Luedeke wrote: |
I've checked for this forum logbook, and pressing "enter" while having focus in the quickfilter text field does initiate the search. Does it work for you with this logbook?
Alan Grant wrote: |
With all of our instances of Elog where we have Quick Filters enabled, any filter that we input characters into does not search the server when we press enter (there is no "Search" button). Interestingly, it will only search when we click anywhere on a blank area of the Elog interface. Is that the intended procedure for searching?
|
|
|
68383
|
Thu Aug 11 16:40:47 2016 |
| Alan Grant | agrant@winnipeg.ca | Question | Windows | 3.1.1 | Re: Quick Filter not searching on Enter |
Yes it works fine in this forum. I also discovered my problem is resolved using Chrome. I'll dig into browser and let you know when I find something.
Andreas Luedeke wrote: |
I've checked for this forum logbook, and pressing "enter" while having focus in the quickfilter text field does initiate the search. Does it work for you with this logbook?
Alan Grant wrote: |
With all of our instances of Elog where we have Quick Filters enabled, any filter that we input characters into does not search the server when we press enter (there is no "Search" button). Interestingly, it will only search when we click anywhere on a blank area of the Elog interface. Is that the intended procedure for searching?
|
|
|
68384
|
Thu Aug 11 17:09:47 2016 |
| Alan Grant | agrant@winnipeg.ca | Question | Windows | 3.1.1 | Re: Quick Filter not searching on Enter |
Found the problem. I needed to turn on Compatibility View in IE for the site. Regards.
Alan Grant wrote: |
Yes it works fine in this forum. I also discovered my problem is resolved using Chrome. I'll dig into browser and let you know when I find something.
Andreas Luedeke wrote: |
I've checked for this forum logbook, and pressing "enter" while having focus in the quickfilter text field does initiate the search. Does it work for you with this logbook?
Alan Grant wrote: |
With all of our instances of Elog where we have Quick Filters enabled, any filter that we input characters into does not search the server when we press enter (there is no "Search" button). Interestingly, it will only search when we click anywhere on a blank area of the Elog interface. Is that the intended procedure for searching?
|
|
|
|
68443
|
Wed Oct 26 16:39:38 2016 |
| Alan Grant | agrant@winnipeg.ca | Question | Windows | 3.1.2 | Datetime format with elog client |
What is the input format expected by the elog client for a required Datetime defined field when inserting a record? (Eg: October 26, 2016 = ? in the field's data parameter).
I have read some prior posts on this and the indication is that the input needs to use epoch time, however even when I enter 1477493161 or 0 the client still flags the variable data as missing. If this is in fact the format I shoud be using then I can provide a sample input and output message to illustrate my problem.
|