Custom RSS Output – Developing and Testing
-
Experienced programmer here … but new to wordpress and web technology from the backend. I have three easy questions (for some) regarding how to make changes to my RSS Output, easiest first.
1. Why does the mysite.com/feed not refresh when I make a change? Sometimes it does and sometimes it doesn’t, even after I refresh my cache with ctrl-F5 in firefox? It’s like there is an external service with some lag involved, but all I’m doing (I thought) is generating a different page by appending the /feed to the url. How do I see my changes immediately?
2. What is the recommended way of getting data from a column in a custom table (created and managed by a plugin)? Is it this?
$customfield = $wpdb->get_var($wpdb->get_results(“select customfield from customtable where ….”));
fyi: I followed the directions here to get this set up.
3. For this little project and future ones where I’m just trying to figure out the syntax and “play” with the behavior of various API functions, template tags, database queries, etc, where would I make a testing.php file that I can execute at will from my test website without breaking anything else? My idea is to copy and rename the showcase.php file in the twentyeleven theme and tell a new page to “use” that testing.php page template under page attributes on the edit page admin panel. Then whenever I refresh that page, my new test php/javascript/form/whatever code will execute for quick and dirty feedback. Am I on the right track with this?
Thank you all for tips!
Ron
- The topic ‘Custom RSS Output – Developing and Testing’ is closed to new replies.