Editing HTML template for DVDPedia (# of discs?)

Talk to other Pedia users about the programs, share tricks and tips or ask questions about existing features.

Editing HTML template for DVDPedia (# of discs?)

Postby ltcarter47 » Mon May 12, 2008 2:30 am

Hi,

I've been toying with a varient of SingleEntry that I made today, and one of the things I did was add a few more lines of stats. One thing I would really like to add is # of discs. What is the "name" I need to use in the template? Example, for rating, the line is:
Code: Select all
<b>[translate:rated]:</b> [key:rated]<br>


Thanks!
-Sean
User avatar
ltcarter47
Addicted to Bruji
Addicted to Bruji
 
Posts: 26
Joined: Fri Feb 22, 2008 11:13 pm
Location: Roseville, CA

Re: Editing HTML template for DVDPedia (# of discs?)

Postby Nora » Tue May 13, 2008 10:40 am

The key is [key:discs]. You can see a list of all the possible tags on this page and also in the included Help file under Export.
User avatar
Nora
Site Admin
 
Posts: 2149
Joined: Sun Jul 04, 2004 5:03 am

Re: Editing HTML template for DVDPedia (# of discs?)

Postby ltcarter47 » Tue May 13, 2008 11:21 am

Wow! Thanks!

Obviously I didn't look hard enough. Rather, I was looking the hard way, sifting through the other templates looking for it.

Man, so many tags! So little space! :shock: :lol:
User avatar
ltcarter47
Addicted to Bruji
Addicted to Bruji
 
Posts: 26
Joined: Fri Feb 22, 2008 11:13 pm
Location: Roseville, CA

Re: Editing HTML template for DVDPedia (# of discs?)

Postby Conor » Wed May 14, 2008 4:49 am

Check out the new "Tabbed" template in 4.2.2 created by a Bookpedia user (we modified them for the other programs) that allows you to take control of all those tags by giving them more than boxed areas.
User avatar
Conor
Top Dog
 
Posts: 5238
Joined: Sat Jul 03, 2004 12:58 pm

Re: Editing HTML template for DVDPedia (# of discs?)

Postby ltcarter47 » Wed May 14, 2008 10:53 am

Where do I find that? I just updated from 4.2.1. to 4.2.2. I see it in the "Info View Style" menu, but not as an HTML template...

Looks slick though!
User avatar
ltcarter47
Addicted to Bruji
Addicted to Bruji
 
Posts: 26
Joined: Fri Feb 22, 2008 11:13 pm
Location: Roseville, CA

Re: Editing HTML template for DVDPedia (# of discs?)

Postby Conor » Wed May 14, 2008 3:02 pm

Check out the new "Tabbed" template in 4.2.2

Sorry, I should have mentioned it was for the info view.
User avatar
Conor
Top Dog
 
Posts: 5238
Joined: Sat Jul 03, 2004 12:58 pm

Re: Editing HTML template for DVDPedia (# of discs?)

Postby ltcarter47 » Wed May 14, 2008 3:14 pm

Oh, ok, I see what you mean. It's an easier way to get at and edit that info? Either way, I like it, and I'll probably keep using it ;)
User avatar
ltcarter47
Addicted to Bruji
Addicted to Bruji
 
Posts: 26
Joined: Fri Feb 22, 2008 11:13 pm
Location: Roseville, CA

Re: Editing HTML template for DVDPedia (# of discs?)

Postby Nora » Thu May 15, 2008 4:19 am

You can edit the info view templates just like the export templates (they're all based on HTML). To do this, ctrl-click the DVDpedia application icon and choose 'Show package contents/Contents/Resources/WebViewFiles'. That folder has four possible subfolders because these templates can be localized: "en", "es", "de", or "fr", depending on the localization you use.

To save your template after you're done, create a new folder titled 'InfoTemplates' inside your DVDpedia data folder (by default located in ~/Library/Application Support/DVDpedia) and place the template in there. For any images, you have to create a folder inside 'InfoTemplates' named 'Images'. If you were to keep the template inside the application with the other info view templates, the template would get overwritten every time you update the program.
User avatar
Nora
Site Admin
 
Posts: 2149
Joined: Sun Jul 04, 2004 5:03 am


Return to PediaTalk

cron