Do you have blogspot blog with large numbers of posts and you want to backup it? Sometimes exporting blog via blogger dashboard needs long time and sometime failed.
This PHP script just another way to download & export blogspot content to blogspot xml format. This may help you who often meet problem in exporting blog using regular blogger exporter.
Saturday, December 28, 2013
PHP Script Blogspot XML Scrapper
Sunday, July 7, 2013
500 Internal Server Errors caused by htaccess - Problem Solved
Yesterday, I got "500 Internal server error" warning message after I moved my website to a new web host. From Hawkhost to Godaddy web host. My website work normally in old web host but in new web hosting, I can access homepage normally, but I got "500 Internal server error" message when I open pages.
As usually, something like this makes me confused. 500 Internal Server Error is a generic error message, given when no more specific message is suitable. Internal server errors can be caused by a few different things.
After I searched on internet, I founded a post in a forum that help me so much. And the problem SOLVED. Alhamdulillah.
As you are on virtual host you have to tell the server which is your base or rewriting.
I just forgot to add
RewriteBase / after RewriteEngine on. Actually, I don't know about this :P Hahaha.
This is my old htaccess file.
And this is my new htaccess code: Do you have same problem? Hopefully it can be helpful for you. :D
Monday, March 25, 2013
PHP Current URL
Usually, I use this code to get the current page full URL that is shown in the browser URL window. PHP current url without query string.
To get the current page URL, you just need to do this:
If you just want to get page name only, you can use the script below:
These code taken from: webcheatsheet . com/PHP/get_current_page_url.php
Continue ►
To get the current page URL, you just need to do this:
echo currentURL();
If you just want to get page name only, you can use the script below:
These code taken from: webcheatsheet . com/PHP/get_current_page_url.php
PHP + cURL RSS Parser
Using cURL (Client URL Library) is the best option that can be used when setting allow_url_fopen is set to off.
allow_url_fopen Off
When setting allow_url_fopen is set off, it will not be able to use fopen to open and read the Rss Feed from another URL. So how to outsmart?
Use PHP CURL, and the following code snippet to read the Rss Feed. Below is example of how to use the function above: Hopefully this PHP rss parser example helpful for you to create your own php rss reader.
Continue ►
allow_url_fopen Off
When setting allow_url_fopen is set off, it will not be able to use fopen to open and read the Rss Feed from another URL. So how to outsmart?
Use PHP CURL, and the following code snippet to read the Rss Feed. Below is example of how to use the function above: Hopefully this PHP rss parser example helpful for you to create your own php rss reader.
Subscribe to:
Comments (Atom)