Parse information from an edmonton city council escribe meeting (ex. https://pub-edmonton.escribemeetings.com/Meeting.aspx?Agenda=PostMinutes&Id=90d0b4a6-47d2-47f1-a735-9076e5a89c0f&Item=19&Tab=attachments&lang=English)
<li class="AgendaItemMotion">
<div class="PreMotionText RichText"></div>
<div class="Number"></div>
<div class="MovedBy">
<span class="Label">Moved by:</span>
<span class="Value">A. Salvador</span>
</div>
<div class="SecondedBy">
<span class="Label">Seconded by:</span>
<span class="Value">A. Sohi</span>
</div>
<div class="MotionText RichText">
<p><span style="font-weight:400;"><span><strong>Bylaw 20071 - Temporary Transit and City Facilities Face Mask Bylaw</strong></span></span></p>
<p><span style="font-weight:400;">That Administration prepare a new Face Mask Bylaw to only include provisions for face coverings on public transit and publicly accessible City-owned and operated facilities.</span></p>
<p><strong>Due Date: March 14/16, 2022, City Council</strong></p>
</div>
<table class="MotionVoters"><tbody>
<tr>
<td class="VoterVote" colspan="1" headers="">In Favour (11)</td>
<td class="VotesUsers" colspan="1" headers="">A. Knack, S. Hamilton, A. Paquette, T. Cartmell, A. Sohi, A. Salvador, M. Janz, K. Tang, E. Rutherford, A. Stevenson, and J. Wright</td>
</tr>
<tr>
<td class="VoterVote" colspan="1" headers="">Opposed (2)</td>
<td class="VotesUsers" colspan="1" headers="">J. Rice, and K. Principe</td>
</tr>
<tr>
<td class="VotesUsers" colspan="1" headers=""></td>
</tr>
</tbody></table>
<div class="MotionResult">
Motion Carried (11 to 2)
</div>
<div class="PostMotionText RichText"></div>
</li>
- Create a function for getting the values of elements
- Create recursive function which organizes element into array of structure
[ "class name"
[ "class name"
[ "class name", value ]
],
[ "class name", value ],
[ "class name"
[ "class name"
[ "class name", value ]
]
]
]
- Create an object for AgendaItems
- Get html of webpage
- Get all elements of class "AgendaItemMotion"
- Remove all elements that include "boring" terms
- Output information in all AgendaItems in text form
Send requests for json files from their webserver
- Figure it out 💀
Create the website
Create an RSS feed for the information
Create a mastodon bot for the information