webOS Nation Forums >  webOS developer forums >  Palmdoc Apps > eMedicine Viewer
eMedicine Viewer

  Reply
 
LinkBack Thread Tools Display Modes
Old 09/21/2010, 03:08 AM   #1 (permalink)
Member

 
palmdoc2005's Avatar
 
Join Date: Sep 2005
Location: http://palmdoc.net
Posts: 1,813
Likes Received: 20
Thanks: 295
Thanked 230 Times in 138 Posts
Default eMedicine Viewer

Here are some screenshots of the app I am working on. Not quite ready for posting on Homebrew yet but if anyone wants to beta test or help with the development, please PM or email me.
__________________
Check out my My Medical webOS Apps
Featured free apps: DrugView | Eponyms | eMed | Dosecalcfree | Beeb News
palmdoc2005 is offline   Reply With Quote
Thanked By: psm9
Old 09/21/2010, 03:41 AM   #2 (permalink)
Member
 
bulls96's Avatar
 
Join Date: Jun 2007
Posts: 2,051
Likes Received: 32
Thanks: 87
Thanked 110 Times in 76 Posts
Default

awesome palmdoc!! can't wait to try it!
bulls96 is online now   Reply With Quote
Old 09/21/2010, 06:53 AM   #3 (permalink)
Member

 
palmdoc2005's Avatar
 
Join Date: Sep 2005
Location: http://palmdoc.net
Posts: 1,813
Likes Received: 20
Thanks: 295
Thanked 230 Times in 138 Posts
Default

Uploading app to Homebrew now . When approved by the moderator, it will appear here:
http://uploads.precentral.net/homebr...edicine-viewer
Will also upload a version for quick Web link installation.
__________________
Check out my My Medical webOS Apps
Featured free apps: DrugView | Eponyms | eMed | Dosecalcfree | Beeb News

Last edited by palmdoc2005; 09/21/2010 at 07:02 AM.
palmdoc2005 is offline   Reply With Quote
Old 09/21/2010, 08:04 AM   #4 (permalink)
Member
 
Join Date: Nov 2009
Posts: 194
Likes Received: 0
Thanks: 0
Thanked 16 Times in 13 Posts
Default

very nice thanks again man!
Kenjo2009 is offline   Reply With Quote
Old 09/21/2010, 10:01 AM   #5 (permalink)
Member
 
Join Date: Jan 2008
Location: South Jersey
Posts: 329
Likes Received: 0
Thanks: 84
Thanked 68 Times in 54 Posts
Default

Very cool! I use emedicine all the time. I haven't used much on the Pre, because the pages don't display well, but this app seems to fix that.

Any hope of adding a search feature?

Thanks again!
__________________
Palm V -->m505 -->Tungsten T3-->T5->Centro-->Pre!
psm9 is offline   Reply With Quote
Old 09/21/2010, 01:30 PM   #6 (permalink)
Member
 
jjeffcoat's Avatar
 
Join Date: Nov 2009
Location: Oklahoma City
Posts: 2,422
Likes Received: 1
Thanks: 642
Thanked 333 Times in 221 Posts
Default

Looks really cool....
__________________
My device history:

- Jim J.

(On Sprint for many years)
jjeffcoat is offline   Reply With Quote
Old 09/21/2010, 03:54 PM   #7 (permalink)
Member

 
palmdoc2005's Avatar
 
Join Date: Sep 2005
Location: http://palmdoc.net
Posts: 1,813
Likes Received: 20
Thanks: 295
Thanked 230 Times in 138 Posts
Default

Ok it's out now in homebrew. Search won't be easily done (this app was created in Ares in like a few hours) until I figure out a way to parse the text into a listview, rather than a htmlview. If anyone good at this can help I'd be grateful.
__________________
Check out my My Medical webOS Apps
Featured free apps: DrugView | Eponyms | eMed | Dosecalcfree | Beeb News
palmdoc2005 is offline   Reply With Quote
Thanked By: Godstyle
Old 09/21/2010, 04:46 PM   #8 (permalink)
Member
 
Godstyle's Avatar
 
Join Date: May 2004
Location: Bridgeport, CT
Posts: 152
Likes Received: 2
Thanks: 9
Thanked 18 Times in 9 Posts
Default

Good idea, thanks.
__________________
We have enough youth, how about a fountain of smart?
Godstyle is offline   Reply With Quote
Old 09/21/2010, 04:52 PM   #9 (permalink)
Member

 
palmdoc2005's Avatar
 
Join Date: Sep 2005
Location: http://palmdoc.net
Posts: 1,813
Likes Received: 20
Thanks: 295
Thanked 230 Times in 138 Posts
Default

So the html source code is like this:

Code:
<!-- articles list --> 
<div class="maincolbox"> 
<div id="dirheader"><h2>Allergy &amp; Immunology Articles</h2></div> 
 
<div id="sortbybox"><b>Sort:&nbsp;</b> <a href="/allergy_immunology/articles">Alphabetically</a> &nbsp;|&nbsp; <span style="color: #666;">by Section</span></div> 
 
<div class="subdirsection"> 
<h4><a name="pathogenesis" id="pathogenesis"></a>Allergy Pathogenesis</h4> 
<ul> 
 
<li><a href="/article/834401-overview">Allergic Fungal Sinusitis</a>*</li> 
<li><a href="/article/1119063-overview">Berloque Dermatitis</a>*</li> 
<li><a href="/article/1049216-overview">Contact Dermatitis, Allergic</a>*</li> 
<li><a href="/article/1049353-overview">Contact Dermatitis, Irritant</a>*</li> 
<li><a href="/article/1123605-overview">Dermatitis, Nummular</a>*</li> 
<li><a href="/article/1049474-overview">Drug Eruptions</a>*</li> 
<li><a href="/article/1049648-overview">Drug-Induced Photosensitivity</a>*</li> 
<li><a href="/article/1069686-overview">Drug-Induced Pigmentation</a>*</li> 
<li><a href="/article/1122527-overview">Dyshidrotic Eczema</a>*</li> 
<li><a href="/article/1336702-overview">Fixed Drug Eruptions</a>*</li> 
<li><a href="/article/136118-overview">Hypersensitivity Reactions, Delayed</a></li> 
<li><a href="/article/136217-overview">Hypersensitivity Reactions, Immediate</a></li> 
<li><a href="/article/1049760-overview">Id Reaction (Autoeczematization)</a>*</li> 
<li><a href="/article/137911-overview">Indoor Aeroallergens</a></li>
It looks like if one can parse the string into an array, where each array item is the text in the <li> </li>, then I think it can be done, though it would lose the grouping. Or else parse the code and push the item directly into the list. My Javascript kungfu is not good enough so appreciate help here.
__________________
Check out my My Medical webOS Apps
Featured free apps: DrugView | Eponyms | eMed | Dosecalcfree | Beeb News

Last edited by palmdoc2005; 09/21/2010 at 05:13 PM.
palmdoc2005 is offline   Reply With Quote
Thanked By: jossanaijr
Old 09/21/2010, 05:05 PM   #10 (permalink)
Member
 
Join Date: Apr 2006
Posts: 500
Likes Received: 1
Thanks: 44
Thanked 13 Times in 11 Posts
Default

Excellent! Thank you!
jossanaijr is offline   Reply With Quote
Old 09/21/2010, 05:36 PM   #11 (permalink)
Member
 
stung's Avatar
 
Join Date: Jul 2009
Location: on the internets
Posts: 664
Likes Received: 14
Thanks: 84
Thanked 210 Times in 126 Posts
Default

Gotta have a search feature. It would make this app so much better. In its current form, there is no advantage to using the app over built-in features on the Pre. It's much easier to open up the keyboard, type in emedicine churg strauss than trying to find the same page on the app. I can then click on "print this" to get the same version displayed on your app.

Perhaps if the the information were organized like Epocrates, but with diseases instead of drug information? One of the problems is that the difficulty of scrolling down to pathophys, ddx, tx sections, etc. If they were all collapsed like pharmacology, adult dosing, etc. in Epocrates, that would certainly make life easier.
__________________
gesture bar + true multitasking > fully-featured OS and SDK, quality apps, greater developer interest, battery life, reliable hardware

Not enough apps in the catalog? Well, the apps suit my needs just fine.

You're on your 3rd replacement? My launch day Pre never had a problem.

WebOS = potential
stung is offline   Reply With Quote
Old 09/21/2010, 06:08 PM   #12 (permalink)
Member

 
palmdoc2005's Avatar
 
Join Date: Sep 2005
Location: http://palmdoc.net
Posts: 1,813
Likes Received: 20
Thanks: 295
Thanked 230 Times in 138 Posts
Default

I'd like to point out that the display from this app is not the print view you get when you search for the emedicine article directly from google. It's a custom google mobile view and the fonts are larger and more legible.
I append screen shots to show the difference. I did play with the print view in an earlier version but decided it would not be practical as one has to zoom in the text to read or put the device in landscape mode.
I agree search would be handy but it's easier said than done. I have a lot to learn about Javascript including RegExp, arrays and what not. Perhaps someone more experienced can help out. I'd be happy to share the code.
__________________
Check out my My Medical webOS Apps
Featured free apps: DrugView | Eponyms | eMed | Dosecalcfree | Beeb News
palmdoc2005 is offline   Reply With Quote
Old 09/21/2010, 07:39 PM   #13 (permalink)
Member
 
stung's Avatar
 
Join Date: Jul 2009
Location: on the internets
Posts: 664
Likes Received: 14
Thanks: 84
Thanked 210 Times in 126 Posts
Default

Didn't notice that. Thanks for the tip. Now I can click on Options --> Mobile Formatted when doing my searches when looking up emedicine articles. Makes life easier. I wish I knew more about programming as well. I wonder if it's possible for someone to create a bot that can index the emedicine articles then output them into a format that breaks them up into Overview, Differential Diagnosis & Workup, Treatment & Medication, Follow-up, Multimedia, and References. If that can be done and be put into an Epocrates-like format, that would be ideal, I think.
__________________
gesture bar + true multitasking > fully-featured OS and SDK, quality apps, greater developer interest, battery life, reliable hardware

Not enough apps in the catalog? Well, the apps suit my needs just fine.

You're on your 3rd replacement? My launch day Pre never had a problem.

WebOS = potential
stung is offline   Reply With Quote
Old 09/21/2010, 09:47 PM   #14 (permalink)
Member

 
palmdoc2005's Avatar
 
Join Date: Sep 2005
Location: http://palmdoc.net
Posts: 1,813
Likes Received: 20
Thanks: 295
Thanked 230 Times in 138 Posts
Default

Updated to version 0.4.0 using Google search as the "quick and dirty" search solution.
__________________
Check out my My Medical webOS Apps
Featured free apps: DrugView | Eponyms | eMed | Dosecalcfree | Beeb News
palmdoc2005 is offline   Reply With Quote
Old 09/22/2010, 02:03 AM   #15 (permalink)
Member

 
palmdoc2005's Avatar
 
Join Date: Sep 2005
Location: http://palmdoc.net
Posts: 1,813
Likes Received: 20
Thanks: 295
Thanked 230 Times in 138 Posts
Default

Updated version 0.5.0, forgot the "Clear" button.
__________________
Check out my My Medical webOS Apps
Featured free apps: DrugView | Eponyms | eMed | Dosecalcfree | Beeb News
palmdoc2005 is offline   Reply With Quote
Old 09/22/2010, 07:20 AM   #16 (permalink)
Member
 
Join Date: Jan 2008
Location: South Jersey
Posts: 329
Likes Received: 0
Thanks: 84
Thanked 68 Times in 54 Posts
Default

With the new search feature, I've lost the mobile formatting on the articles.

Any thoughts on how to get it back?
__________________
Palm V -->m505 -->Tungsten T3-->T5->Centro-->Pre!
psm9 is offline   Reply With Quote
Old 09/22/2010, 07:22 AM   #17 (permalink)
Member
 
Join Date: Jan 2008
Location: South Jersey
Posts: 329
Likes Received: 0
Thanks: 84
Thanked 68 Times in 54 Posts
Default

Quote:
Originally Posted by stung View Post
Didn't notice that. Thanks for the tip. Now I can click on Options --> Mobile Formatted when doing my searches when looking up emedicine articles.
How do you do that? Where is that option?
__________________
Palm V -->m505 -->Tungsten T3-->T5->Centro-->Pre!
psm9 is offline   Reply With Quote
Old 09/22/2010, 08:05 AM   #18 (permalink)
Member

 
palmdoc2005's Avatar
 
Join Date: Sep 2005
Location: http://palmdoc.net
Posts: 1,813
Likes Received: 20
Thanks: 295
Thanked 230 Times in 138 Posts
Default

For each search result, there is an Option link on the bottom right, just tap on it, and you'll see Mobile formatted as the lowest option in the drop down list. Selecting that will give you the best mobile format.
palmdoc2005 is offline   Reply With Quote
Thanked By: psm9
Old 09/22/2010, 09:12 AM   #19 (permalink)
Member
 
Join Date: Jan 2008
Location: South Jersey
Posts: 329
Likes Received: 0
Thanks: 84
Thanked 68 Times in 54 Posts
Default

just saw it. Thanks!
psm9 is offline   Reply With Quote
Old 09/22/2010, 09:28 AM   #20 (permalink)
Member

 
palmdoc2005's Avatar
 
Join Date: Sep 2005
Location: http://palmdoc.net
Posts: 1,813
Likes Received: 20
Thanks: 295
Thanked 230 Times in 138 Posts
Default

Just uploaded v 0.6.0 to homebrew with improved mobile formatting for search results. There is however a line which says "error on line 3 at column 4966: Entity 'nbsp' not defined " in the result page which as far as I can tell is harmless. Try and and let me know.
__________________
Check out my My Medical webOS Apps
Featured free apps: DrugView | Eponyms | eMed | Dosecalcfree | Beeb News
palmdoc2005 is offline   Reply With Quote
Reply

 

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0