[liblouis-liblouisxml] Re: Converting html into braille

  • From: "John J. Boyer" <john.boyer@xxxxxxxxxxxxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Thu, 24 May 2012 08:39:37 -0500

The skip semantic action should do the job.

John

On Thu, May 24, 2012 at 02:27:17PM +0100, Paul wood wrote:
> I suggest you first use something to strip out the javascript and 
> comments etc. I have taken our Website front page which has a little bit 
> of Javascript and using www.online-convert.com to convert it first to 
> doc and then back to html it kept the formatting and structure but 
> removed any other non-text coding leaving a valid HTML file which you 
> could then throw at liblouis.
> this is a non-programming solution, obviously if you can create code you 
> can strip out the offending data from the html file and process as needed.
> Hope this help
> Paul
> 
> On 24/05/2012 12:13 PM, Chathuri Gunawardhana wrote:
> >Dear sir,
> >
> >When I try to convert a html page into braille there are some unwanted 
> >js tags appeared with the converted content. Can you please help me to 
> >fix it? Thanks. I attached a file regarding the problem.
> >
> >Thanks a lot!
> >
> >-- 
> >Chathuri Gunawardhana
> >Undergraduate at University of Moratuwa
> >Sri Lanka
> 
> -- 
> 
> Paul Wood, Technical Services Leader
> *Torch Trust*
> Torch House, Torch Way,
> Market Harborough, Leics. LE16 9HL, UK
> Direct Line: *+44(0)1858 438269*
> Tel: *+44(0)1858 438260*, Fax: *+44(0)1858 438275*
> Email: paulw@xxxxxxxxxxxxxx <mailto:paulw@xxxxxxxxxxxxxx>
> Website: www.torchtrust.org <http://www.torchtrust.org/>
> 
> ____________________________________________________
> 
> Chief Executive: Dr Gordon Temple
> Charity No. 1095904
> 
> Privileged/Confidential Information may be contained in this message.
> If you are not the intended recipient please destroy this message
> and kindly notify the sender by reply email. The computer from which
> this mail originates is equipped with virus screening software.
> However Torch Trust cannot guarantee that the mail and its attachments
> are free from virus infection.
> 

-- 
John J. Boyer; President, Chief Software Developer
Abilitiessoft, Inc.
http://www.abilitiessoft.com
Madison, Wisconsin USA
Developing software for people with disabilities

For a description of the software, to download it and links to
project pages go to http://www.abilitiessoft.com

Other related posts: