What symbols to avoid when exporting as HTML

Any trouble you encounter with the Pedias, here's the place to ask for help.
Post Reply
User avatar
teacher24_70
Addicted to Bruji
Addicted to Bruji
Posts: 94
Joined: Sun Nov 21, 2004 12:51 am
Location: Kansas
Contact:

What symbols to avoid when exporting as HTML

Post by teacher24_70 »

When I export my database as HTML to upload to Mobile Me, I'm constantly getting crazy characters in the "Site Name" that make it almost impossible for me get to the website URL.

Spaces, apostrophes, etc. in the Site Name creates crazy symbols in the URL and then the given URL for the site doesn't always work.
User avatar
Alex
Addicted to Bruji
Addicted to Bruji
Posts: 230
Joined: Sun Aug 08, 2004 4:02 am
Location: Barcelona
Contact:

Re: What symbols to avoid when exporting as HTML

Post by Alex »

That is correct, HTML will encode anything that is not a letter. For example, a space will be encoded as "%20". Even letters in non-english alphabets will get a symbol, example: ñ = ñ, é = é etc.
User avatar
sjk
Addicted to Bruji
Addicted to Bruji
Posts: 529
Joined: Sat Feb 21, 2009 9:01 pm
Location: Eugene

Re: What symbols to avoid when exporting as HTML

Post by sjk »

Assuming I even understand this problem I'm not seeing it when doing a MobileMe export from DVDpedia.
marumari
Addicted to Bruji
Addicted to Bruji
Posts: 104
Joined: Thu Dec 10, 2009 10:38 am
Contact:

Re: What symbols to avoid when exporting as HTML

Post by marumari »

What template are you using? I believe there is a template configuration parameter called "uidNaming" that lets you choose whether the subpages are named by the their title, or by their entry number, in the database (as such, named: page1.html, page2.html, page3.html, and so on).
User avatar
sjk
Addicted to Bruji
Addicted to Bruji
Posts: 529
Joined: Sat Feb 21, 2009 9:01 pm
Location: Eugene

Re: What symbols to avoid when exporting as HTML

Post by sjk »

marumari wrote:I believe there is a template configuration parameter called "uidNaming" …
It's in the list of possible tags on the Creating a Template page:

Code: Select all

<meta name="uidNaming" content="yes/no/title/sort" />
marumari
Addicted to Bruji
Addicted to Bruji
Posts: 104
Joined: Thu Dec 10, 2009 10:38 am
Contact:

Re: What symbols to avoid when exporting as HTML

Post by marumari »

Yep, that's what I was referring to.

Try doing a custom template and adding this to the top:
<meta name="uidNaming" content="yes" />

And see if that fixes the funky URL issues?
Post Reply