Re: [CODE4LIB] email to FTP or something?

2012-10-17 Thread Jing Xiao
And I don't think you can do it directly from email to file unless you 
can hack the device or program it inside.


Here is my way if I do it, and you might find a better solution.
1) You need a Mail server, either setup by you own or use a existed one.
2) Access the mail.
a) If you setup your own as a Linux mail server, you can directly 
access it from the mbox file. For PHP you can use 
http://pear.php.net/package/Mail/redirected I believe there are 
libraries for other program language as well.
b) If you use a existed server, you might need to use a mail client 
to do it. This is a little bit difficult than a). Because you need to 
know the protocol of the mail server POP3/IMAP and etc. One tool you can 
use in Linux is FetchExc in Java
3) Once you can access the mail, you can extract the data from CSV and 
pipe to MySQL, or use script language to ftp and etc. This is not that 
difficult. Tool for Java can be http://opencsv.sourceforge.net/


Trick steps are 1) and 2).

On 10/17/2012 1:16 PM, Nate Hill wrote:

Maybe someone can offer me a suggestion here...
I bought a nifty new gadget that records data and spits out csv files as
email attachments.
I want to go from csv  MySQL and build a web application to do cool stuff
with the data.
The thing is, the device can only email the files as attachments, it
doesn't give me the ability to upload them to a server.
Can anyone suggest how I can securely email a file directly to a folder on
a server?

The scenario is nearly identical to what is described here:
http://www.quora.com/How-can-I-upload-to-an-FTP-site-via-email




--
Jing Xiao

Senior Programmer
L-1005, System, QEII Library
Memorial University, St. John's, NL, A1B 3Y1
T: (709)864-2698
F: (709)864-4034


This electronic communication is governed by the terms and conditions at
http://www.mun.ca/cc/policies/electronic_communications_disclaimer_2012.php


Re: [CODE4LIB] Seeking examples of outstanding discovery layers

2012-09-20 Thread Jing Xiao

Totally agreed.

Just reading through those email and feel we might off the topic.

If we want to go from location A to location B. There are so many 
choice: take bus, taxi, rent a car, buy a car, buy a leisure car, buy a 
air ticket,  rent a helicopter, or even buy your own aircraft.


I would more recommend to see what you really need (Requirement), how 
many budget do you have (Resource) and start from there.


BTW, here are some my opinions:
- If you do not have a solid technical development team, please don't 
choose open source.
- If you do not have a powerful budget, there is no need to compare with 
big organizations.
- Subscription service becomes more an more popular, it is worth to take 
a look.


Hope it helps.

--
Jing Xiao

Senior Programmer
L-1005, System, QEII Library
Memorial University, St. John's, NL, A1B 3Y1


On 9/20/2012 1:19 PM, Sean Hannan wrote:

Every one of these sites is not going to work for everyone.

Please conduct your own user research for your own audience.

Our users, for example, have no interest in visualizations of search
results.

Our researchers actually want just a list of results. They are compiling
bibliographies or reading lists and they honestly just want a really long
page of titles and authors of what we have.

-Sean

On 9/20/12 11:03 AM, Karen Coyle li...@kcoyle.net wrote:


Every one of this suggestions has one major flaw, IMO. The primary
result of a search is a big set of bibliographic records -- more than
the user can possible look through. In some of them there are facets
available, but in no case is there any useful analysis of set in a
visualization that would allow the user to get a picture of what she has
retrieved. I'm thinking timelines, a la' WorldCat Identities or the Open
Library subject pages [1]. Also, none of them tell the user more about
the person or subject or work that they have retrieved. (At least, in
the views that I have seen.) I really think that lists of manifestations
just aren't good enough when searches bring up hundreds of results.

kc
[1] some examples:
http://openlibrary.org/subjects/halley%27s_comet
http://openlibrary.org/subjects/place:istanbul_%28turkey%29
and see others at: http://openlibrary.org/subjects
or look for your favorites


On 9/20/12 6:03 AM, Hamilton, Gill wrote:

My current fav is Digital NZ
http://www.digitalnz.org/

Gill
--
Gill Hamilton
Digital Access Manager
National Library of Scotland
Edinburgh, Scotland
g.hamil...@nls.uk


-Original Message-
From: Code for Libraries [mailto:CODE4LIB@LISTSERV.ND.EDU] On Behalf Of
Tania Fersenheim
Sent: 19 September 2012 20:00
To: CODE4LIB@LISTSERV.ND.EDU
Subject: [CODE4LIB] Seeking examples of outstanding discovery layers

Got a favorite discovery interface?  Send me the URL

I am doing some quick  dirty investigation into libraries that have
successfully and elegantly integrated discovery of various resources,
e.g.:

   - library catalog
   - federated indexing service such as  Serials Solutions or Primo
Central, or a federated search system like Metalib
   - ejournals
   - ebooks
   - libguides
   - library web site
   - worldcat local
   - that kind o' stuff

I am looking for sites that are both nice to look at and seem easy to
use.  I will assume that if you're touting your own site it is
technologically sophisticated.  :-D  Got any faves?

Tania





This electronic communication is governed by the terms and conditions at
http://www.mun.ca/cc/policies/electronic_communications_disclaimer_2012.php