Requirements
- Oracle 10g (tested on Oracle XE on Windows and Oracle Enterprise 10.2.0.2 on Windows). Oracle9i should work also, but it's not tested.
- Blogs maintained by Beta Blogger and hosted on blogspot.com. You must allow to publish full content of your posts and comments.
- Direct connection to Internet
Installation
- Download installation package
- Create new
Oracle schema and grant to it:
- roles CONNECT and RESOURCE
- EXECUTE on SYS.UTL_HTTP
- run script install.sql
Usage
First You have to register blog you want to backup. Use BLOGSPOT_BACKUP.register_blog function:beginTo download all your posts with comments andl labels use this PL/SQL block:
dbms_output.put_line(
BLOGSPOT_BACKUP.register_blog
('Software Engineer Thoughts', 'http://pbarut.blogspot.com/'));
commit;
end;
beginFor more information take a look into BLOGSPOT_BACKUP specification.
BLOGSPOT_BACKUP.synchronize_blog(null, false);
BLOGSPOT_BACKUP.synchronize_labels(null, null);
BLOGSPOT_BACKUP.synchronize_comments(null, null, false);
commit;
end;
Data storage
Table name | Desription |
---|---|
BLOGS | Blogs registered for backup. |
BLOG_POSTS | Blog posts downloaded. |
BLOG_LABELS | Labels associated to blog posts. |
BLOG_COMMENTS | Comments related to blog posts. |
FEED_CACHE | Used speed up tests. In tests phase feeds are read from this table instead of downloading every time. |
End notes
I'm publishing this tool, as some of you might find it useful. It should work on all beta blogger blogs, but I do not give ant warranty. In case of any problems fill free to contact me.Regards, Paweł
3 comments:
Hi Pawel,
I'm impressed by your package.
I created a GUI on top of your application in APEX here.
Your blog is backuped correctly, but when I try mine I get an XML error:
ORA-31011: XML parsing failed ORA-19202: Error occurred in XML processing LPX-00200: could not convert from encoding UTF-8 to UCS2 Error at line 1
Thanks,
Dimitri
Hi Dimiti,
Thanks for reporting problem. And congratulation for nice front end. It's what I wanted to do next.
I could not reproduce your problem. On my machine I get ORA-00600: internal error code, arguments: [kole_t2u], [34] :)
I did some changes (now only 25 entries are download in one step) and I was able to successfully backup your blog. New version is ready to download.
I've tested it on Oracle XE with NLS_CHARACTERSET = AL32UTF8 on Windows.
If there still is a problem, please contact me.
Paweł
This is less intrusive doesnt effect your current blogger blog, gives you a test bed and a different platform all with a few clicks. After that Google Mess yesterday I will be keeping both up until we migrate to our own box!
Free and Easy Backup Method For Blogger
Post a Comment