Author Topic: Trying to build a HTML export template  (Read 2728 times)

Offline vAfotoriporter

  • Uber Member
  • ******
  • Posts: 1029
    • View Profile
    • Attila Volgyi photojournalist
Trying to build a HTML export template
« on: September 28, 2009, 01:16:17 PM »
A friend of mine started writing me an export template but we are struck with the first steps. We used the example from the documentation http://forums.camerabits.com/index.php?topic=4726.0 but we receive the following error message:


Is it really a basic question what might cause this?
Working on Mac, OSX, iOS and with some Canons.
Allways shooting RAW.

http://www.volgyiattila.com

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 20713
    • View Profile
    • Camera Bits, Inc.
Re: Trying to build a HTML export template
« Reply #1 on: September 28, 2009, 02:50:02 PM »
A friend of mine started writing me an export template but we are struck with the first steps. We used the example from the documentation http://forums.camerabits.com/index.php?topic=4726.0 but we receive the following error message:


Is it really a basic question what might cause this?

Sounds like some of the modifications to your HTML are causing issues for the parser.  Likely unbalanced quotes, tags, etc.

If you'd like to share your HTML with me I'd be happy to figure it out for you.

-Kirk

Offline vAfotoriporter

  • Uber Member
  • ******
  • Posts: 1029
    • View Profile
    • Attila Volgyi photojournalist
Re: Trying to build a HTML export template
« Reply #2 on: September 28, 2009, 10:34:02 PM »
A friend of mine started writing me an export template but we are struck with the first steps. We used the example from the documentation http://forums.camerabits.com/index.php?topic=4726.0 but we receive the following error message:


Is it really a basic question what might cause this?

Sounds like some of the modifications to your HTML are causing issues for the parser.  Likely unbalanced quotes, tags, etc.

If you'd like to share your HTML with me I'd be happy to figure it out for you.

-Kirk

I would be more than happy to share it if it will contain any of its real goals but it is only a test code you included in the documentation.
Working on Mac, OSX, iOS and with some Canons.
Allways shooting RAW.

http://www.volgyiattila.com

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 20713
    • View Profile
    • Camera Bits, Inc.
Re: Trying to build a HTML export template
« Reply #3 on: September 28, 2009, 11:20:38 PM »
A friend of mine started writing me an export template but we are struck with the first steps. We used the example from the documentation http://forums.camerabits.com/index.php?topic=4726.0 but we receive the following error message:


Is it really a basic question what might cause this?

Sounds like some of the modifications to your HTML are causing issues for the parser.  Likely unbalanced quotes, tags, etc.

If you'd like to share your HTML with me I'd be happy to figure it out for you.

-Kirk

I would be more than happy to share it if it will contain any of its real goals but it is only a test code you included in the documentation.

Did you copy and paste the text directly from the PDF?  That won't work since the quotes are styled quotes (forward double-quotes and backwards double-quotes).  If you access the 'HTML Template Docs' in the Extras folder the example code is there (open up index.html) and hasn't been reformatted with smart quotes.  Those samples should work just fine.

HTH,

-Kirk

Offline vAfotoriporter

  • Uber Member
  • ******
  • Posts: 1029
    • View Profile
    • Attila Volgyi photojournalist
Re: Trying to build a HTML export template
« Reply #4 on: September 28, 2009, 11:25:23 PM »
A friend of mine started writing me an export template but we are struck with the first steps. We used the example from the documentation http://forums.camerabits.com/index.php?topic=4726.0 but we receive the following error message:


Is it really a basic question what might cause this?

Sounds like some of the modifications to your HTML are causing issues for the parser.  Likely unbalanced quotes, tags, etc.

If you'd like to share your HTML with me I'd be happy to figure it out for you.

-Kirk

I would be more than happy to share it if it will contain any of its real goals but it is only a test code you included in the documentation.

Did you copy and paste the text directly from the PDF?  That won't work since the quotes are styled quotes (forward double-quotes and backwards double-quotes).  If you access the 'HTML Template Docs' in the Extras folder the example code is there (open up index.html) and hasn't been reformatted with smart quotes.  Those samples should work just fine.

HTH,

-Kirk

Thanks for all the great support and we will report back with the results of this export project.
Working on Mac, OSX, iOS and with some Canons.
Allways shooting RAW.

http://www.volgyiattila.com