Years go from 2005 through 2010. Months go from January through December. Dates go from the 1st to the the 31st.
The names must be:
I want the year to always be the full year (2004, not 04). I want the month and the dates to be two-digit numbers. If the month or the date is originally a single digit (1 to 9), it must be preceded by a zero. In other words: 01, 02, 03, 04 ... 10, 11, 12, etc.
As shown in the example, dashes must be between the year, month, and day, and the original title. There is also no "th" after the day number.
Good example: 2004-01-05-original-post-title.html
Bad example: 2004-01-05th-original-post-title.html
Sometimes there are two blog posts on the same day. I've tested your original code out and it works fine when there are two identical dates. The result are two files that look like this:
Because the post titles are different, there will never be a completely identical name, even if the date is the same. This suits me fine.
Those are all the date scenarios. Any days between January 1st, 2005 up to December 31st, 2010. If you wish to see a list of all the posts and their dates, it's available at http://www.stevepavlina.com/blog/ar...
Thanks for your efforts. I really do appreciate it.