2014-05-16, 08:18:05
(This post was last modified: 2014-05-16, 08:32:37 by johnstray2001.)
datiswous,
The constant isn't defined in common.php which is the file that rss.php includes for all its information, rather it's actually defined in the main gs-blog.php file which, when you call the rss.php file directly, doesn't go anywhere near it. So I fixed the issue by adding a check in the common.php file to see if the constant has been defined, and if it has not (ie. not called by gs-blog.php) then it will define it accordingly. However, after fixing that problem, a few others arose that appear when you call rss.php when no posts exist. I will have to make some changes to the generateRSSFeed function in the primary blog class to accommodate for this. All of these issues will be fixed and checked, then I will release a new version with the updates.
Keep an eye out for the next version, v3.1.3
The constant isn't defined in common.php which is the file that rss.php includes for all its information, rather it's actually defined in the main gs-blog.php file which, when you call the rss.php file directly, doesn't go anywhere near it. So I fixed the issue by adding a check in the common.php file to see if the constant has been defined, and if it has not (ie. not called by gs-blog.php) then it will define it accordingly. However, after fixing that problem, a few others arose that appear when you call rss.php when no posts exist. I will have to make some changes to the generateRSSFeed function in the primary blog class to accommodate for this. All of these issues will be fixed and checked, then I will release a new version with the updates.
Keep an eye out for the next version, v3.1.3
Check out my website: JohnStray.com