Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > DEVELOPMENT > Addons

Post Reply
 
Thread Tools
  #1  
Old 04-26-2005, 10:56 AM
raminia's Avatar
raminia+ Offline
Team Pixelpost
 
Join Date: Jan 2005
Location: FL, US
Posts: 3,706
Send a message via Yahoo to raminia
Addon: Import from Wordpress to PixelPost (version 0.3)

Description:
An addon for importing photos from wordpress and Pictorialis!

Version: 0.3

Download from: http://www.pixelpost.org/v1/index.ph...amp;details=70 (temporary)
OR
http://www.pixelpost.org/index.php?x...amp;details=70

Requirements:
PIXELPOST VERSION 1.4 or Pixelpost 1.3 with multi category modification.
PHP 4.0.3+
Wordpress 1.5 *

* This is basically for wordpress 1.5 and Pictorialis but it should work for wordpress 1.2 and higher!

Features:
- You can specify WP post id range to import to Pixelpost.
- Avoids overwrites when asked.
- Copies files to Pixelpost directory or moves them on user request.
- Sets Title and body content automatically.
- Supports multiple images in a single post of WP and converts it into seperate posts on PP.
- Creates thumbnails automatically.

What is not supported
- support Different datetime for images in a single post of WP when they are converted into seperated PP posts.
- Different users of WP is ignored. PP 1.4.1 supports only one user.


Instructions:
1- Copy htmlparser.inc into includes folder of PP.
2- Copy import_from_wordpress.php into the addons folder of PP.
3- Open addon page in pixelpost admin pane and go to the section that this addon owns. it's a clear form that you should fill it with your wp-cofig.php info of wordpress.
4- Pixelpost 1.4.1 users only: To add the UTF-8 support fix a bug in includes/functions.php. Open the file with an editor and commentout line 105 to
Quote:
$str = UTF8_encode($str);
and line line 115 to
Quote:
$str = UTF8_decode($str);
. This is fixed in next versions.
__________________
Photoblog: http://pblog.raminia.com Powered by Pixelpost 1.7
Reply With Quote
  #2  
Old 04-27-2005, 08:28 PM
raminia's Avatar
raminia+ Offline
Team Pixelpost
 
Join Date: Jan 2005
Location: FL, US
Posts: 3,706
Send a message via Yahoo to raminia
if you dload it before this post, the addon was not working then. dload it again and it will work perfctly
__________________
Photoblog: http://pblog.raminia.com Powered by Pixelpost 1.7
Reply With Quote
  #3  
Old 07-06-2005, 08:04 PM
raminia's Avatar
raminia+ Offline
Team Pixelpost
 
Join Date: Jan 2005
Location: FL, US
Posts: 3,706
Send a message via Yahoo to raminia
The version is increased to 2.0.
Now:
- Some note is included for adding UTF-8 support with bug fixing the PP version 1.4.1
- it grabs comments and adds them to PP as well.
- if you have more than one picture at one post, it will seperates them in seperate posts in Pixelpost and it will write the same comments
__________________
Photoblog: http://pblog.raminia.com Powered by Pixelpost 1.7
Reply With Quote
  #4  
Old 07-17-2005, 08:21 PM
raminia's Avatar
raminia+ Offline
Team Pixelpost
 
Join Date: Jan 2005
Location: FL, US
Posts: 3,706
Send a message via Yahoo to raminia
The version is 0.3 now.
Some bug fixes and enhancements with some added notes.
__________________
Photoblog: http://pblog.raminia.com Powered by Pixelpost 1.7
Reply With Quote
  #5  
Old 07-19-2005, 09:54 AM
she Offline
forum loafer
 
Join Date: May 2005
Posts: 12
how wonderful!

thanks a lot!
it was very useful.
but i'm afraid that i have some problems.
my h.p. is http://keepmypace.info/1.4.2

for the first..
archive numbers didn't match to the fact.
i think... it's not my addon file's problem. i'll uproad the file about archive.
http://keepmypace.info/1.4.2/paged_archive.zip
if you see the file i'll appreciate.

and i'm Korean. and you know that w.p uses utf-8 also.
but Korean was not imported.
you can see through the comments.
Korean was all imported to question marks.

i'd like to you could fix that. but u don't need to hurry.

anyway.. thanks a lot! it's very cool addon.
Reply With Quote
  #6  
Old 07-19-2005, 10:03 AM
she Offline
forum loafer
 
Join Date: May 2005
Posts: 12
oh..

i have something strange.

some comments were imported over twice times.

and... i'll leave my w.p address.
http://keepmypace.info/wordpress
Reply With Quote
  #7  
Old 07-19-2005, 02:59 PM
raminia's Avatar
raminia+ Offline
Team Pixelpost
 
Join Date: Jan 2005
Location: FL, US
Posts: 3,706
Send a message via Yahoo to raminia
I'll check this tonight...

EDIT:
I cant review it tonight. maybe tomorrow night
__________________
Photoblog: http://pblog.raminia.com Powered by Pixelpost 1.7
Reply With Quote
  #8  
Old 07-20-2005, 07:20 AM
raminia's Avatar
raminia+ Offline
Team Pixelpost
 
Join Date: Jan 2005
Location: FL, US
Posts: 3,706
Send a message via Yahoo to raminia
Re: how wonderful!

Quote:
Originally Posted by she
thanks a lot!
it was very useful.
but i'm afraid that i have some problems.
my h.p. is http://keepmypace.info/1.4.2

for the first..
archive numbers didn't match to the fact.
i think... it's not my addon file's problem. i'll uproad the file about archive.
http://keepmypace.info/1.4.2/paged_archive.zip
if you see the file i'll appreciate.

and i'm Korean. and you know that w.p uses utf-8 also.
but Korean was not imported.
you can see through the comments.
Korean was all imported to question marks.

i'd like to you could fix that. but u don't need to hurry.

anyway.. thanks a lot! it's very cool addon.
did you do what I mentioned to make the addon compatible with UTF-8?
It's inside the readme file.

it's not related to this thread but the archive link is not paged but you want it to be. read PP's tags or use index.php?x=browse&pagenum=1
__________________
Photoblog: http://pblog.raminia.com Powered by Pixelpost 1.7
Reply With Quote
  #9  
Old 07-20-2005, 07:26 AM
raminia's Avatar
raminia+ Offline
Team Pixelpost
 
Join Date: Jan 2005
Location: FL, US
Posts: 3,706
Send a message via Yahoo to raminia
Re: oh..

Quote:
Originally Posted by she
i have something strange.

some comments were imported over twice times.

and... i'll leave my w.p address.
http://keepmypace.info/wordpress
if you have more that one photo in a post it will add the comments that post to the both images in pixelpost.
is that what you observed?
__________________
Photoblog: http://pblog.raminia.com Powered by Pixelpost 1.7
Reply With Quote
  #10  
Old 07-20-2005, 06:49 PM
she Offline
forum loafer
 
Join Date: May 2005
Posts: 12
Re: how wonderful!

Quote:
Originally Posted by raminia
Quote:
Originally Posted by she
thanks a lot!
it was very useful.
but i'm afraid that i have some problems.
my h.p. is http://keepmypace.info/1.4.2

for the first..
archive numbers didn't match to the fact.
i think... it's not my addon file's problem. i'll uproad the file about archive.
http://keepmypace.info/1.4.2/paged_archive.zip
if you see the file i'll appreciate.

and i'm Korean. and you know that w.p uses utf-8 also.
but Korean was not imported.
you can see through the comments.
Korean was all imported to question marks.

i'd like to you could fix that. but u don't need to hurry.

anyway.. thanks a lot! it's very cool addon.
did you do what I mentioned to make the addon compatible with UTF-8?
It's inside the readme file.

it's not related to this thread but the archive link is not paged but you want it to be. read PP's tags or use index.php?x=browse&pagenum=1
did you do what I mentioned to make the addon compatible with UTF-8?
It's inside the readme file.
====> yes. i did.

it's not related to this thread but the archive link is not paged but you want it to be. read PP's tags or use index.php?x=browse&pagenum=1
=======>
it seems that you mistook my words..
if you see the select options or archive pages and you can notice that the numbers of archive are wrong like the following.
Quote:
Monthly archive
All (36)
June, 2005 (1)
May, 2005 (5)
April, 2005 (1)
September, 2004 (1)
April, 2004 (1)
March, 2004 (2)
and next question
Quote:
if you have more that one photo in a post it will add the comments that post to the both images in pixelpost.
is that what you observed?
oh... that's meaning was...
for example..
there were same zoomvienna's comments in all of the posts from may. 2nd. to the latest. But that comment was for only one post of may. 2nd.

and thank you to read my message.
i hope your answer would be left..
as previously stated you don't need to hurry to solve my problem..
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 09:09 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs