Solved

RSS feeds and xml

Posted on 2007-03-28
5
296 Views
Last Modified: 2013-11-19
I have an html calendar of information (links to events) and I would like to automatically create an RSS feed. I have never done this before. Is there a way to create xml files automatically? Can you provide code that will provide a rss feed for each day of the calendar (multiple events per day)? Also, you provide guidance on what is needed after I have the code? Thank you.

I have provided my html code below:
-----------------------------------------------------------

<html>
<head>
<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
<title>April, 2007</title>
</head>
<body>
<center>
<TABLE WIDTH="100%">
<TR><TD valign=top><FONT SIZE=-3>
</td>
<TD align=center valign=top><h2>
<b>We Care & Give Back <br></br>April, 2007</b></h2></td>

<td align=right valign=top><img align=right valign=top src="logo.gif"></td>
</TR>
</table>
<TABLE BORDER WIDTH="100%">
<TR>
   <TH WIDTH="14%">Sunday</TH><TH WIDTH="14%">Monday</TH>
   <TH WIDTH="14%">Tuesday</TH><TH WIDTH="14%">Wednesday</TH>
   <TH WIDTH="14%">Thursday</TH><TH WIDTH="14%">Friday</TH>

   <TH WIDTH="14%">Saturday</TH>
</TR>
<tr>
<!--***** DATE: 1 ************************************-->

<td valign=top width="14%"><table width="100%"><tr><td align=right>1</td></tr>
<tr><td valign=bottom align=center><FONT SIZE=2>
<!-- Add your event and link here. -->
</td></tr></table></td>

<!--***** DATE: 2 ************************************-->

<td valign=top width="14%"><table width="100%"><tr><td align=right>2</td></tr>

<tr><td valign=bottom align=center><FONT SIZE=2>
<a href="apr/apr2_1.htm">Chollas Lake Clean Up</a><br></br>
<a href="apr/apr2_2.htm">Carmel Valley Homework Helpers</a><br></br>
<a href="apr/apr2_3.htm">Mira Mesa Homework Helpers<br></br>
<!-- Add your event and link here. -->
</td></tr></table></td>

<!--***** DATE: 3 ************************************-->

<td valign=top width="14%"><table width="100%"><tr><td align=right>3</td></tr>
<tr><td valign=bottom align=center><FONT SIZE=2>
<a href="apr/apr3_1.htm">Polinsky Children's Center</a><br></br>

<a href="apr/apr3_2.htm">Windsor Gardens of Golden Hill</a><br></br>
<!-- Add your event and link here. -->
</td></tr></table></td>

<!--***** DATE: 4 ************************************-->

<td valign=top width="14%"><table width="100%"><tr><td align=right>4</td></tr>
<tr><td valign=bottom align=center><FONT SIZE=2>
<a href="apr/apr4_1.htm">College Avenue Senior Center Lunch Service</a><br></br>
<a href="apr/apr4_2.htm">Meals at Merle's Place</a><br></br>
<a href="apr/apr4_3.htm">Mira Mesa Homework Helpers</a><br></br>
<a href="apr/apr4_4.htm">Polinsky Game Night</a><br></br>

<a href="apr/apr4_5.htm">Serra Mesa Homework Helpers</a><br></br>
<a href="apr/apr4_6.htm">Grunion Greeters</a><br></br>
<!-- Add your event and link here. -->
</td></tr></table></td>

<!--***** DATE: 5 ************************************-->

<td valign=top width="14%"><table width="100%"><tr><td align=right>5</td></tr>
<tr><td valign=bottom align=center><FONT SIZE=2>
<a href="apr/apr5_1.htm">Buy Me Love Benefits</a><br></br>
<a href="apr/apr5_2.htm">Polinsky Songs & Stories</a><br></br>

<a href="apr/apr5_3.htm">Polinsky Teen Basketball</a><br></br>
<!-- Add your event and link here. -->
</td></tr></table></td>

<!--***** DATE: 6 ************************************-->

<td valign=top width="14%"><table width="100%"><tr><td align=right>6</td></tr>
<tr><td valign=bottom align=center><FONT SIZE=2>
<a href="apr/apr6_1.htm">Food Distribution</a><br></br>
<a href="apr/apr6_2.htm">Special Delivery San Diego</a><br></br>
<a href="apr/apr6_3.htm">Brown Baggers</a><br></br>
<!-- Add your event and link here. -->

</td></tr></table></td>

<!--***** DATE: 7 ************************************-->

<td valign=top width="14%"><table width="100%"><tr><td align=right>7</td></tr>
<tr><td valign=bottom align=center><FONT SIZE=2>
<a href="apr/apr7_1.htm">1st Saturday Restoration Work Party</a><br></br>
<a href="apr/apr7_2.htm">Weed Warriors</a><br></br>
<a href="apr/apr7_3.htm">Friends of Cats</a><br></br>
<a href="apr/apr7_4.htm">Tutoring at Bayview Baptist Church</a><br></br>
<a href="apr/apr7_5.htm">Polinsky BBQ</a><br></br>

<!-- Add your event and link here. -->
</td></tr></table></td>

</tr>
<tr>
<!--***** DATE: 8 ************************************-->

<td valign=top width="14%"><table width="100%"><tr><td align=right>8</td></tr>
<tr><td valign=bottom align=center><FONT SIZE=2>
<!-- Add your event and link here. -->
</td></tr></table></td>

<!--***** DATE: 9 ************************************-->

<td valign=top width="14%"><table width="100%"><tr><td align=right>9</td></tr>

<tr><td valign=bottom align=center><FONT SIZE=2>
<a href="apr/apr9_1.htm">Carmel Valley Homework Helpers</a><br></br>
<a href="apr/apr9_2.htm">Mira Mesa Homework Helpers<br></br>
<!-- Add your event and link here. -->
</td></tr></table></td>

<!--***** DATE: 10 ************************************-->

<td valign=top width="14%"><table width="100%"><tr><td align=right>10</td></tr>
<tr><td valign=bottom align=center><FONT SIZE=2>
<a href="apr/apr10_1.htm">San Diego Food Bank<br></br>
<!-- Add your event and link here. -->
</td></tr></table></td>

<!--***** DATE: 11 ************************************-->

<td valign=top width="14%"><table width="100%"><tr><td align=right>11</td></tr>
<tr><td valign=bottom align=center><FONT SIZE=2>
<a href="apr/apr11_1.htm">Serving Seniors<br></br>
<a href="apr/apr11_2.htm">Mira Mesa Homework Helpers<br></br>
<a href="apr/apr11_3.htm">Serra Mesa Homework Helpers<br></br>

<!-- Add your event and link here. -->
</td></tr></table></td>

<!--***** DATE: 12 ************************************-->

<td valign=top width="14%"><table width="100%"><tr><td align=right>12</td></tr>
<tr><td valign=bottom align=center><FONT SIZE=2>
<a href="apr/apr12_1.htm">Polinsky Songs & Stories<br></br>
<!-- Add your event and link here. -->
</td></tr></table></td>

<!--***** DATE: 13 ************************************-->

<td valign=top width="14%"><table width="100%"><tr><td align=right>13</td></tr>
<tr><td valign=bottom align=center><FONT SIZE=2>
<a href="apr/apr13_1.htm">Special Delivery San Diego<br></br>

<a href="apr/apr13_2.htm">Brown Baggers<br></br>
<a href="apr/apr13_3.htm">Butterworth Dance Company presents "Seven"<br></br>
<a href="apr/apr13_4.htm">Kids' Night Out<br></br>
<!-- Add your event and link here. -->
</td></tr></table></td>

<!--***** DATE: 14 ************************************-->

<td valign=top width="14%"><table width="100%"><tr><td align=right>14</td></tr>
<tr><td valign=bottom align=center><FONT SIZE=2>
<a href="apr/apr14_1.htm">Touching Minds, Shaping Futures Conference<br></br>
<a href="apr/apr14_2.htm">Beach Cleanups<br></br>

<a href="apr/apr14_3.htm">South Mission Beach Clean Up<br></br>
<a href="apr/apr14_4.htm">Therapeutic Horseback Riding<br></br>
<a href="apr/apr14_5.htm">Feed the Homeless<br></br>
<a href="apr/apr14_6.htm">Friends of Cats<br></br>
<a href="apr/apr14_7.htm">Tutoring at Bayview Baptist Church<br></br>
<a href="apr/apr14_8.htm">Natural History Interpreters for Teens<br></br>
<a href="apr/apr14_9.htm">Butterworth Dance Company presents "Seven"<br></br>

<!-- Add your event and link here. -->
</td></tr></table></td>

</tr>
<tr>
<! -- 3T6C6B3-8814650 -->
<!--***** DATE: 15 ************************************-->

<td valign=top width="14%"><table width="100%"><tr><td align=right>15</td></tr>
<tr><td valign=bottom align=center><FONT SIZE=2>
<!-- Add your event and link here. -->
<a href="apr/apr15_1.htm">Caring Cooks at Ronald McDonald House<br></br>
<a href="apr/apr15_2.htm">Got Yarn?<br></br>
<a href="apr/apr15_3.htm">Movers & Shakers at Casey's Place!<br></br>


</td></tr></table></td>

<!--***** DATE: 16 ************************************-->

<td valign=top width="14%"><table width="100%"><tr><td align=right>16</td></tr>
<tr><td valign=bottom align=center><FONT SIZE=2>
<!-- Add your event and link here. -->
<a href="apr/apr16_1.htm">Meals at Merle's Place Youth Volunteer Night!<br></br>
<a href="apr/apr16_2.htm">Teen & Student Tutor Night at Mira Mesa Library<br></br>


</td></tr></table></td>

<!--***** DATE: 17 ************************************-->

<td valign=top width="14%"><table width="100%"><tr><td align=right>17</td></tr>
<tr><td valign=bottom align=center><FONT SIZE=2>
<a href="apr/apr17_1.htm">Childcare at the Women's Resource Center  - Youth Volunteer Night!<br></br>
<a href="apr/apr17_2.htm">Polinsky Arts & Crafts<br></br>
<a href="apr/apr17_3.htm">Casino Night at Country Hills<br></br>
<!-- Add your event and link here. -->
</td></tr></table></td>

<!--***** DATE: 18 ************************************-->

<td valign=top width="14%"><table width="100%"><tr><td align=right>18</td></tr>
<tr><td valign=bottom align=center><FONT SIZE=2>
<a href="apr/apr18_1.htm">Serra Mesa Homework Helpers<br></br>
<a href="apr/apr18_2.htm">Teen & Student Tutor Night at Mira Mesa Library<br></br>
<!-- Add your event and link here. -->
</td></tr></table></td>

<!--***** DATE: 19 ************************************-->

<td valign=top width="14%"><table width="100%"><tr><td align=right>19</td></tr>

<tr><td valign=bottom align=center><FONT SIZE=2>
<a href="apr/apr19_1.htm">Chollas Lake Clean Up<br></br>
<a href="apr/apr19_2.htm">Polinsky Songs & Stories<br></br>
<a href="apr/apr19_3.htm">Polinsky Teen Basketball<br></br>
<!-- Add your event and link here. -->
</td></tr></table></td>

<!--***** DATE: 20 ************************************-->

<td valign=top width="14%"><table width="100%"><tr><td align=right>20</td></tr>
<tr><td valign=bottom align=center><FONT SIZE=2>
<a href="apr/apr20_1.htm">Special Delivery<br></br>

<a href="apr/apr20_2.htm">Brown Baggers<br></br>
<a href="apr/apr20_3.htm">What's Your Natural High: Pulling a 180 on 420<br></br>
<a href="apr/apr20_4.htm">Movers & Shakers at Casey's Place!<br></br>

<!-- Add your event and link here. -->
</td></tr></table></td>

<!--***** DATE: 21 ************************************-->

<td valign=top width="14%"><table width="100%"><tr><td align=right>21</td></tr>
<tr><td valign=bottom align=center><FONT SIZE=2>
<a href="apr/apr21_1.htm">Fighting Parkinson's Step by Step 5K Walk & Fun Run<br></br>

<a href="apr/apr21_2.htm">WalkAmerica<br></br>
<a href="apr/apr21_3.htm">Canoe/Kayak Sprint Racing Trials<br></br>
<a href="apr/apr21_4.htm">EMTs & Nurses Needed For 5k Walk<br></br>
<a href="apr/apr21_5.htm">Fox Canyon Tree planting , Community and Creek Cleanup Event<br></br>
<a href="apr/apr21_6.htm">Be a Weed Warrior for National Youth Service Day!<br></br>
<a href="apr/apr21_7.htm">Therapeutic Horseback Riding<br></br>
<a href="apr/apr21_8.htm">Tutoring at Bayview Baptist Church<br></br>
<a href="apr/apr21_9.htm">Polinsky BBQ<br></br>



<!-- Add your event and link here. -->
</td></tr></table></td>

</tr>
<tr>
<!--***** DATE: 22 ************************************-->

<td valign=top width="14%"><table width="100%"><tr><td align=right>22</td></tr>
<tr><td valign=bottom align=center><FONT SIZE=2>
<a href="apr/apr22_1.htm">Canoe/Kayak Sprint Racing Trials<br></br>
<a href="apr/apr22_2.htm">Earth Day in Balboa Park/ SD River Park Fnd.<br></br>

<a href="apr/apr22_3.htm">Crafts For A Cause<br></br>
<a href="apr/apr22_4.htm">Movers & Shakers at Casey's Place!<br></br>
<a href="apr/apr22_5.htm">EarthDay Volunteer<br></br>
<!-- Add your event and link here. -->
</td></tr></table></td>

<!--***** DATE: 23 ************************************-->

<td valign=top width="14%"><table width="100%"><tr><td align=right>23</td></tr>
<tr><td valign=bottom align=center><FONT SIZE=2>
<a href="apr/apr23_1.htm">Carmel Valley Homework Helpers<br></br>

<a href="apr/apr23_2.htm">Mira Mesa Homework Helpers<br></br>
<a href="apr/apr23_3.htm">Malcolm X Homework Helpers<br></br>

<!-- Add your event and link here. -->
</td></tr></table></td>

<!--***** DATE: 24 ************************************-->

<td valign=top width="14%"><table width="100%"><tr><td align=right>24</td></tr>
<tr><td valign=bottom align=center><FONT SIZE=2>
<a href="apr/apr24_1.htm">Childcare at the Women's Resource Center (WRC)<br></br>
<a href="apr/apr24_2.htm">North County Food Bank<br></br>

<!-- Add your event and link here. -->
</td></tr></table></td>

<!--***** DATE: 25 ************************************-->

<td valign=top width="14%"><table width="100%"><tr><td align=right>25</td></tr>
<tr><td valign=bottom align=center><FONT SIZE=2>
<a href="apr/apr25_1.htm">Serving Seniors<br></br>
<a href="apr/apr25_2.htm">Mira Mesa Homework Helpers<br></br>
<a href="apr/apr25_3.htm">Serra Mesa Homework Helpers<br></br>
<a href="apr/apr25_4.htm">Malcolm X Homework Helpers<br></br>

<!-- Add your event and link here. -->
</td></tr></table></td>

<!--***** DATE: 26 ************************************-->

<td valign=top width="14%"><table width="100%"><tr><td align=right>26</td></tr>
<tr><td valign=bottom align=center><FONT SIZE=2>
<a href="apr/apr26_1.htm">San Diego Food Bank<br></br>
<a href="apr/apr26_2.htm">Polinsky Songs & Stories<br></br>

<!-- Add your event and link here. -->
</td></tr></table></td>

<!--***** DATE: 27 ************************************-->

<td valign=top width="14%"><table width="100%"><tr><td align=right>27</td></tr>
<tr><td valign=bottom align=center><FONT SIZE=2>
<a href="apr/apr27_1.htm">Special Delivery San Diego<br></br>
<a href="apr/apr27_2.htm">Brown Baggers<br></br>

<!-- Add your event and link here. -->
</td></tr></table></td>

<!--***** DATE: 28 ************************************-->

<td valign=top width="14%"><table width="100%"><tr><td align=right>28</td></tr>

<tr><td valign=bottom align=center><FONT SIZE=2>
<a href="apr/apr28_1.htm">Set-Up Crew, Food Servers, Monitors & Break-down Crew<br></br>
<a href="apr/apr28_2.htm">WalkAmerica<br></br>
<a href="apr/apr28_3.htm">Giving Gardeners at Ronald McDonald House<br></br>
<a href="apr/apr28_4.htm">MS Walk Volunteer<br></br>
<a href="apr/apr28_5.htm">Beach Cleanups<br></br>
<a href="apr/apr28_6.htm">Creek to Bay Cleanup<br></br>
<a href="apr/apr28_7.htm">Friends of the San Diego River Mouth Special Project!<br></br>
<a href="apr/apr28_8.htm">Arbor Day Tree Planting<br></br>

<!-- Add your event and link here. -->
</td></tr></table></td>

</tr>
<tr>
<!--***** DATE: 29 ************************************-->

<td valign=top width="14%"><table width="100%"><tr><td align=right>29</td></tr>
<tr><td valign=bottom align=center><FONT SIZE=2>
<a href="apr/apr29_1.htm">MS Walk Volunteer<br></br>
<a href="apr/apr29_2.htm">ArtWalk 2007<br></br>


<!-- Add your event and link here. -->
</td></tr></table></td>

<!--***** DATE: 30 ************************************-->

<td valign=top width="14%"><table width="100%"><tr><td align=right>30</td></tr>
<tr><td valign=bottom align=center><FONT SIZE=2>
<a href="apr/apr30_1.htm">Malcolm X Homework Helpers<br></br>
<a href="apr/apr30_2.htm">Mira Mesa Homework Helpers<br></br>

<!-- Add your event and link here. -->
</td></tr></table></td>

<!--***** DATE: BLANK ************************************-->

<td valign=top width="14%"><table width="100%"><tr><td align=right><p>&nbsp;<br></td></tr>
<tr><td valign=bottom align=center>
<p>&nbsp;<br>
<p>&nbsp;<br>
<p>&nbsp;<br>
<!-- Add your event and link here -->
</td></tr></table></td>

<!--***** DATE: BLANK ************************************-->

<td valign=top width="14%"><table width="100%"><tr><td align=right><p>&nbsp;<br></td></tr>
<tr><td valign=bottom align=center>
<p>&nbsp;<br>
<p>&nbsp;<br>
<p>&nbsp;<br>
<!-- Add your event and link here -->

</td></tr></table></td>

<!--***** DATE: BLANK ************************************-->

<td valign=top width="14%"><table width="100%"><tr><td align=right><p>&nbsp;<br></td></tr>
<tr><td valign=bottom align=center>
<p>&nbsp;<br>
<p>&nbsp;<br>
<p>&nbsp;<br>
<!-- Add your event and link here -->
</td></tr></table></td>

<!--***** DATE: BLANK ************************************-->

<td valign=top width="14%"><table width="100%"><tr><td align=right><p>&nbsp;<br></td></tr>
<tr><td valign=bottom align=center>
<p>&nbsp;<br>

<p>&nbsp;<br>
<p>&nbsp;<br>
<!-- Add your event and link here -->
</td></tr></table></td>

<!--***** DATE: BLANK ************************************-->

<td valign=top width="14%"><table width="100%"><tr><td align=right><p>&nbsp;<br></td></tr>
<tr><td valign=bottom align=center>
<p>&nbsp;<br>
<p>&nbsp;<br>
<p>&nbsp;<br>
<!-- Add your event and link here -->
</td></tr></table></td>

</tr>
</table>

<!-- HTMLCAL link -->
<table width="100%">
<td align=right><font size=-2>
</td></tr>
</font>
</table>
<br>

</body>
</html>
0
Comment
Question by:jrwalker2
  • 3
  • 2
5 Comments
 
LVL 8

Expert Comment

by:jawahar_prasad
ID: 18814230
Hi...
Please answer these questions so that i can help u out..
1. Are the events available in the database??
2. What server side language you are using(asp,php,jsp etc.,)

If the above events are available as a hardcoded html page, then you cannot generate automatic XML page..
0
 
LVL 1

Author Comment

by:jrwalker2
ID: 18816091
1. The events were gotten from one website and hardcoded into my html page (I'm not sure if I can read a rss feed from them or access their database - I doubt it)

2. I am open to any server side language (preferably php or asp).
0
 
LVL 8

Accepted Solution

by:
jawahar_prasad earned 500 total points
ID: 18818178
Hi...
Ok cool...
You have to create the database table with the events enties... the table design can be anything depending upon your requirement...
You can manually put your entries in to the database and then the following code will help you to generate RSS/XML page..

You can download the free asp/php code for converting the database entries into XML feed...
http://2rss.com/software.php

It is a very good piece of code...
You have to make minor changes to the code and your dream comes true...

COmplete explanation is given there...
Please post if you have any doubts...

0
 
LVL 8

Expert Comment

by:jawahar_prasad
ID: 18827717
Have you tried it?
0
 
LVL 1

Author Comment

by:jrwalker2
ID: 18828238
Yes. thank you
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I've been asked to discuss some of the UX activities that I'm using with my team. Here I will share some details about how we approach UX projects.
Any business that wants to seriously grow needs to keep the needs and desires of an international audience of their websites in mind. Making a website friendly to international users isn’t prohibitively expensive and can provide an incredible return…
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question