Skip to content

Commit

Permalink
Add updates widget. Usese feed2js
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Clare authored and Matt Clare committed Feb 15, 2023
1 parent dd86559 commit 1908225
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions widgets/Brock University Updates.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<!DOCTYPE html>
<html xml:lang="en-CA" lang="en-CA"><head>
<title>Brock News</title>
<style>
.d2l-htmlblock ul {list-style: none;margin:0;padding: 0;list-style-position: inside;}
.rss-box{padding:0;padding:0;margin:0;}
.rss-items{list-style: none;margin:0;padding: 0;list-style-position: inside;}
.rss-item {list-style: none;padding: 0 0 1.5em 0;margin:0;}
.rss-item:first-child {margin-top:-1em;} /*Because there's awlays a <p> tag */
.rss-item:last-child {padding:0;}
.rss-date{font-size:70%;}
.swac{font-size: 70%;border-top: groove;border-top-width: thin;}
</style>
</head><body><p>
<script language="JavaScript" src="https://kumu.brocku.ca/feed/feed2js.php?src=https%3A%2F%2Fbrocku.ca%2Fbrock-news%2Fcategory%2Fbrightspace%2Ffeed%2F%2F&amp;num=3&amp;&amp;targ=y&amp;desc=200&amp;date=y&amp;utf=y&amp;html=y" charset="UTF-8" type="text/javascript"></script>
</p>
<div class="swac"><a href="https://brocku.ca/health-wellness-accessibility/">Student Wellness and Accessibility Centre</a> wants you to know that you can talk to a licensed councillor 24/7 via telephone or text using the My SSP App. Download the My SSP App on the&nbsp;<a href="https://apps.apple.com/ca/app/my-ssp/id1112006222">Apple App Store</a>&nbsp;or&nbsp;<a href="https://play.google.com/store/apps/details?id=com.onetapsolutions.morneau.myissp">Google Play</a>.</div></body></html>

0 comments on commit 1908225

Please sign in to comment.