[tssg-tech] Re: <link> "Working with XML on Android"

  • From: Julie Carwellos <jcarwellos@xxxxxxxxx>
  • To: tssg-tech@xxxxxxxxxxxxx
  • Date: Wed, 29 Sep 2010 15:16:25 -0700 (PDT)

SHORT ANSWER:
We do need to consider it during this pre-design/discovery stage of the project.

LONG ANSWER:
The easiest, quickest and most efficient way to place the "center column" of 
the full event into the full event Activity display would be to create an 
Activity with a WebView and use LoadURL place the event into it. However, 
because of issues with the web page (and it's not a real web page, i.e. static  
- it's Drupal-generated HTML - but that HTML contains everything a web page 
does) it doesn't appear that we have this option. The primary issue is that the 
HTML uses a TABLE instead of CSS with floating DIVs to display the 3 columns; 
the secondary issue is that there is no handheld.css to give us just the middle 
column. And the tertiary (I always wanted to use that word!) is that the HTML 
doesn't validate.

So yes, we did need to at least look at it.

Julie (Dingee) Carwellos
Web and IT Project Analyst, User Experience and Interaction Designer
LinkedIn - http://www.linkedin.com/in/jdingeecarwellos

--- On Tue, 9/28/10, Jim Cant <cant_jim@xxxxxxxxxxx> wrote:

From: Jim Cant <cant_jim@xxxxxxxxxxx>
Subject: [tssg-tech] Re: <link> "Working with XML on Android"
To: "tssg tech" <tssg-tech@xxxxxxxxxxxxx>
Date: Tuesday, September 28, 2010, 7:59 PM




It's nice to see all this expertise coming to bear on this issue.  But we need 
to be worried about the validity of the RSS feed, not actual web pages, right?

jim

Date: Tue, 28 Sep 2010 11:06:49 -0700
From: jcarwellos@xxxxxxxxx
Subject: [tssg-tech] Re: <link> "Working with XML on Android"
To: tssg-tech@xxxxxxxxxxxxx

Bea,

It isn't; I get a consistent 11 errors for each single-event web page (using 
FireBug to validate HTML).

Additionally, each event page is styled with TABLEs, rather than floating DIVs, 
so we can't use a handheld.css style sheet to load the URL into a WebView and 
have only the event information display (using display:none; for the outer 
columns). 

-julie

Julie (Dingee) Carwellos
Web and IT Project Analyst, User Experience and Interaction Designer
LinkedIn - http://www.linkedin.com/in/jdingeecarwellos

--- On Tue, 9/28/10, Beatrice W. Chaney <bwchaney@xxxxxxxx> wrote:

From: Beatrice W. Chaney <bwchaney@xxxxxxxx>
Subject: [tssg-tech] Re: <link> "Working with XML on Android"
To: tssg-tech@xxxxxxxxxxxxx
Date: Tuesday, September 28, 2010, 4:18 PM




  
  Message body
Hi,

I suspect (but haven't verified it) that the BostonEventList data might
possibly not be well-formed.

I ran the site through the W3 validator http://validator.w3.org/ some
time ago (and again now), and it comes up with a number of errors.
Having a site be valid XHTML is a critical prerquisite to getting on
top of Google's list.



If this is the case (first, need to verify that well-formedness is
really the problem) there are tidy-up utilities available, but we'd
have to see whether they are suitable for Android. 



Thanks,

Bea



Harry Henriques wrote:


  
#yiv1484296602 .yiv1484296602ExternalClass #yiv1484296602ecxyiv1695702420 DIV
{}


  
  Hello,

  

I think Bea referenced the IBM website regarding RSS parser
alternatives.  I downloaded the application from the website, and
massaged the files.  I was able to get the application to successfully
create an apk and load successfully into the Android Emulator.  The
application is partially working, but I could use some help debugging
it.  The application doesn't parse the BostonEventsList.  For some
reason, it stops before displaying a ListView.

  

I delivered the work I have finished to the SVN Repository in a Android
project called MessageList.

  

I will continue to work on it as time permits.  I've only just begun to
fight.

  

Regards,

Harry Henriques

Java Developer

  
  

 

                                          



      

Other related posts: