Results 1 to 2 of 2

Thread: WordPress data to own pages

  1. #1

    Thread Starter
    Frenzied Member StrangerInBeijing's Avatar
    Join Date
    Mar 2005
    Location
    Not in Beijing
    Posts
    1,666

    WordPress data to own pages

    Yo,
    Any of you done this?
    Create a wordpress site like I did (blog.niconel.com), then connect to the database from another site (www.niconel.com) and display blog postings, comments, etc there?

    Reason is I'm having little problems (as you can see at www.niconel.com/blog) with displaying data. (Like the little blocks inserted where there is spaces)

  2. #2
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: WordPress data to own pages

    Set your character encoding to ISO-8859-1 or Windows-1252 and the little blocks go away. You can trigger this using a Content-type header.
    PHP Code:
    header('Content-type: text/html;charset=ISO-8859-1'); 
    They shouldn't be there in the first place, though — they appear to be a weird type of space character. Perhaps WordPress inserts non-breaking spaces?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width