wu :: forums
« wu :: forums - Exporting users' data in a note taking service »

Welcome, Guest. Please Login or Register.
Nov 28th, 2024, 9:48am

RIDDLES SITE WRITE MATH! Home Home Help Help Search Search Members Members Login Login Register Register
   wu :: forums
   riddles
   general problem-solving / chatting / whatever
(Moderators: william wu, SMQ, towr, Icarus, Eigenray, ThudnBlunder, Grimbal)
   Exporting users' data in a note taking service
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: Exporting users' data in a note taking service  (Read 633 times)
amichail
Senior Riddler
****





   


Posts: 450
Exporting users' data in a note taking service  
« on: Apr 24th, 2007, 10:05am »
Quote Quote Modify Modify

I would like to add an export feature to Study Stickies:
 
http://studystickies.com
 
It's unlikely that many people would use this service much if there's a chance they could lose their data. So an export feature is critical.
 
I was thinking of HTML since the stickies can have HTML tags in them. However, I recently added a math mode that uses TeX syntax. So stickies can be a mixture of HTML and TeX.
 
Any suggestions on a good export format?
 
Note that users may specify some of their stickies to be private.  Moreover, it would be desirable to have an export format that the user can easily edit and perhaps even import into some other app/service.
IP Logged

DropZap - a new kind of block elimination game
towr
wu::riddles Moderator
Uberpuzzler
*****



Some people are average, some are just mean.

   


Gender: male
Posts: 13730
Re: Exporting users' data in a note taking service  
« Reply #1 on: Apr 24th, 2007, 10:51am »
Quote Quote Modify Modify

You could consider XML (which also means you can mostly leave the html as it is).
IP Logged

Wikipedia, Google, Mathworld, Integer sequence DB
amichail
Senior Riddler
****





   


Posts: 450
Re: Exporting users' data in a note taking service  
« Reply #2 on: Apr 24th, 2007, 11:03am »
Quote Quote Modify Modify

on Apr 24th, 2007, 10:51am, towr wrote:
You could consider XML (which also means you can mostly leave the html as it is).

I was thinking of exporting a zip file containing one html file along with the pngs for all the formulas.  
 
In the html file, math would be exported like this:
 
<img src="...png" alt="$\frac{1}{n}$" ... >
 
Such a file can also be imported with a few heuristics.
 
But unfortunately, editing math with the exported file is messy.
IP Logged

DropZap - a new kind of block elimination game
SMQ
wu::riddles Moderator
Uberpuzzler
*****






   


Gender: male
Posts: 2084
Re: Exporting users' data in a note taking service  
« Reply #3 on: Apr 24th, 2007, 11:17am »
Quote Quote Modify Modify

A side note: I noticed from the flash demo that you're using the 10-digit ISBN (ISBN-10) to identify books.  Are you aware that as of January 1, 2007 all publishers have been required to use ISBN-13 on all new or reprinted books?
 
For the moment, the two formats are very similar and can coexist: ISBN-13 is just ISBN-10 with a 978 prefix and a different last digit (check digit).  In the next few years, however, the last of the available ISBN-10 numbers will be used up, and new books will begin to be published with an ISBN-13 exclusively.  You might want to be prepared for that ahead of time.
 
(My ex-GF works for a minor U.S. publisher and I helped them through their ISBN conversion...)
 
--SMQ
IP Logged

--SMQ

amichail
Senior Riddler
****





   


Posts: 450
Re: Exporting users' data in a note taking service  
« Reply #4 on: Apr 24th, 2007, 11:32am »
Quote Quote Modify Modify

on Apr 24th, 2007, 11:17am, SMQ wrote:
A side note: I noticed from the flash demo that you're using the 10-digit ISBN (ISBN-10) to identify books.  Are you aware that as of January 1, 2007 all publishers have been required to use ISBN-13 on all new or reprinted books?
 
For the moment, the two formats are very similar and can coexist: ISBN-13 is just ISBN-10 with a 978 prefix and a different last digit (check digit).  In the next few years, however, the last of the available ISBN-10 numbers will be used up, and new books will begin to be published with an ISBN-13 exclusively.  You might want to be prepared for that ahead of time.
 
(My ex-GF works for a minor U.S. publisher and I helped them through their ISBN conversion...)
 
--SMQ

 
I should change it then to use ISBN-13 throughout and automatically convert ISBN-10 numbers to ISBN-13.
IP Logged

DropZap - a new kind of block elimination game
towr
wu::riddles Moderator
Uberpuzzler
*****



Some people are average, some are just mean.

   


Gender: male
Posts: 13730
Re: Exporting users' data in a note taking service  
« Reply #5 on: Apr 24th, 2007, 12:09pm »
Quote Quote Modify Modify

You could also try to think of something for different versions of the same book (like hardcover/paperback). The page numbering would be different, but it'd still be nice if you could find the notes even if you have a different version. (If the text hasn't changed, you could try renormalizing the pagenumbers to the other range; with updated versions of a text it'd be more difficult)
 
Anyway, as for editing equations, you might consider making an editor for exported files.
I suppose it might be usefull to be able to browse such notes on for example a PDA or something as well; you could even use them in class.
Although, I suppose you're concentrating more on the web-application side of things.
IP Logged

Wikipedia, Google, Mathworld, Integer sequence DB
amichail
Senior Riddler
****





   


Posts: 450
Re: Exporting users' data in a note taking service  
« Reply #6 on: Apr 24th, 2007, 12:19pm »
Quote Quote Modify Modify

on Apr 24th, 2007, 12:09pm, towr wrote:
Anyway, as for editing equations, you might consider making an editor for exported files.
I suppose it might be usefull to be able to browse such notes on for example a PDA or something as well; you could even use them in class.
Although, I suppose you're concentrating more on the web-application side of things.

In class, students could use wireless to access the service via the web.  
 
There are two issues here with respect to exporting.  First, people probably won't trust me to keep their data safe and so exporting is important.  Second, people may not always have access to the web and so exporting would be useful in that case as well.
 
But then there's the issue of exporting vs an offline version of the app.  
 
« Last Edit: Apr 24th, 2007, 12:21pm by amichail » IP Logged

DropZap - a new kind of block elimination game
towr
wu::riddles Moderator
Uberpuzzler
*****



Some people are average, some are just mean.

   


Gender: male
Posts: 13730
Re: Exporting users' data in a note taking service  
« Reply #7 on: Apr 24th, 2007, 12:34pm »
Quote Quote Modify Modify

on Apr 24th, 2007, 12:19pm, amichail wrote:
In class, students could use wireless to access the service via the web.
If their building has wireless, which isn't a given.  (And dialing in via the mobile phone network would be rather expensive)
 
Quote:
But then there's the issue of exporting vs an offline version of the app.
I'm not sure how there's an issue of one vs the other. An export format would be needed to exchange data between the online 'marketplace' and the offline app.
 
Something else that just came to mind: I noticed you can link to othe rpeople's notes to add them among your own. But what if they start editing their notes (possibly in something you don't appreciate as much as the earlier version)? Will it just get replaced, or do you keep the version you linked (possibly with a notification that the author updated it)?
IP Logged

Wikipedia, Google, Mathworld, Integer sequence DB
amichail
Senior Riddler
****





   


Posts: 450
Re: Exporting users' data in a note taking service  
« Reply #8 on: Apr 24th, 2007, 12:42pm »
Quote Quote Modify Modify

on Apr 24th, 2007, 12:34pm, towr wrote:
I'm not sure how there's an issue of one vs the other. An export format would be needed to exchange data between the online 'marketplace' and the offline app.
 
Something else that just came to mind: I noticed you can link to othe rpeople's notes to add them among your own. But what if they start editing their notes (possibly in something you don't appreciate as much as the earlier version)? Will it just get replaced, or do you keep the version you linked (possibly with a notification that the author updated it)?

Having an offline version with bidirectional data exchange with the online one is much more implementation effort than just exporting data.
 
Also, offline ajax apps are not easy at the moment. I believe firefox 3 may change that though.
 
As for the link, you will see only the most recent version. Maybe I should keep previous versions as well just in case you don't like the most recent version.
 
BTW, linking can be extended to handle the case of paperback vs hardcover as well as multiple editions of a book.
 
For example, when linking to someone's sticky, perhaps it would be a good idea to allow the user to specify a different page and/or isbn.  
IP Logged

DropZap - a new kind of block elimination game
SMQ
wu::riddles Moderator
Uberpuzzler
*****






   


Gender: male
Posts: 2084
Re: Exporting users' data in a note taking service  
« Reply #9 on: Apr 24th, 2007, 12:51pm »
Quote Quote Modify Modify

on Apr 24th, 2007, 11:32am, amichail wrote:
I should change it then to use ISBN-13 throughout and automatically convert ISBN-10 numbers to ISBN-13.

That would be my recommendation, yes.  Also, if you're already going to have code sitting around to calculate ISBN check digits you could validate the entered ISBNs as well.
 
--SMQ
IP Logged

--SMQ

Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »

Powered by YaBB 1 Gold - SP 1.4!
Forum software copyright © 2000-2004 Yet another Bulletin Board