<?xml version="1.0"?>
<rss version="2.0"><channel><title/><link>https://www.edugeek.net/blogs/blog/55-dthebikes-blog/</link><description/><language>en</language><item><title>House points software - roll your ownwith  PHP</title><link>https://www.edugeek.net/blogs/entry/1012-house-points-software-roll-your-ownwith-php/</link><description><![CDATA[<blockquote data-ipsquote="" class="ipsQuote" data-ipsquote-username="SovietRussia" data-cite="SovietRussia" data-ipsquote-contentapp="blog" data-ipsquote-contenttype="blogs" data-ipsquote-contentid="1012" data-ipsquote-contentclass="blog_Entry"><div><blockquote data-ipsquote="" class="ipsQuote" data-ipsquote-username="sadams1980" data-cite="sadams1980" data-ipsquote-contentapp="blog" data-ipsquote-contenttype="blogs" data-ipsquote-contentid="1012" data-ipsquote-contentclass="blog_Entry"><div>I have managed to create a report in SIMS and I have got commandreporter running the report and dumping the data into an xml file.  Could anyone point me in the right direction, how I would go about extracting the data into a webpage?<p> </p><p>
Many thanks</p></div></blockquote><p> </p><p>
I would personally do it in PHP - Use a function called simplexml_load_file</p><p> </p><p>
Here is an example of how I use it to produce timetables on our intranet page:</p><p> </p><p>
</p><pre class="ipsCode">$xml = simplexml_load_file("upload/timetablesoutput.xml");

foreach ($xml-&gt;Record as $item){    $name = explode(" ", $item-&gt;Student);    $subject = strtoupper($item-&gt;Subject);    $teacher = $item-&gt;Staff_x0020_Code;    $date = explode("T", $item-&gt;DOB);
if($subject == "") {}else{
$sql = mysql_query("INSERT INTO `timetable` (`name`, `dob`, `form`, `subject`, `period`, `staff`, `room`) VALUES ('$name[0] $name[1]', '$date[0]', '$name[3]', '$subject', '$item-&gt;Period', '$teacher', '$item-&gt;Room');");
}
}

</pre><div></div><p></p><p> </p><p>
So it runs through the file, gets the elements and then inserts them into a Database for me, but you would need to get it to display live data, so instead of using mysql_query, use echo and just print it to the page.</p><p> </p><p>
EDIT: What is EduGeek doing to my code, its word wrapping it...</p></div></blockquote>]]></description><guid isPermaLink="false">1012</guid><pubDate>Wed, 04 Feb 2015 15:49:00 +0000</pubDate></item><item><title>YouTube for Schools ISA setup</title><link>https://www.edugeek.net/blogs/entry/774-youtube-for-schools-isa-setup/</link><description><![CDATA[<blockquote data-ipsquote="" class="ipsQuote" data-ipsquote-username="mrbios" data-cite="mrbios" data-ipsquote-contentapp="blog" data-ipsquote-contenttype="blogs" data-ipsquote-contentid="774" data-ipsquote-contentclass="blog_Entry"><div>Ok everyone using ISA/TMG i can help you!<p> </p><p>
1) Install this program: <a href="http://www.redline-software.com/pub/tkSetup.exe" rel="external nofollow">http://www.redline-software.com/pub/tkSetup.exe</a> - Run that on your ISA server installing just the "Headers modifier" section (requires the firewall service to restart during install, so 60 seconds loss of internet connection!) </p><p> </p><p>
2) Go to Configuration &gt; Add-ins &gt; Web filters and go to the properties of "Headers Modifier" &gt; Parameters &gt; Add</p><p> </p><p>
3) Name the rule whatever you want and select "applies to: Processed request headers"</p><p> </p><p>
4) Click Add at the bottom, leave action set to "add header", set header name to "X-YouTube-Edu-Filter" and Header value to whatever the set of letters and numbers is assigned to you on your school profile</p><p> </p><p>
5) Go to Conditions, set the first condition to be a "policy rule" and have it "Equal" with the value of your outbound web access policy. Now add a second condition with the following settings: "AND" "Web Site Name" "Contains" "youtube" That should do it.</p><p> </p><p>
And that should hopefully work <img alt=":)" data-src="https://www.edugeek.net/uploads/emoticons/smile.png.e38e01f2a4850c4158c039aea82ac2a8.png" src="https://www.edugeek.net/applications/core/interface/js/spacer.png" /> Quite a rough set of instructions. Here's a screenshot of my settings to give you a better idea.... (IGNORE THE FIRST SET OF CONDITIONS, THEY'RE WRONG, SEE CORRECTED SECOND IMAGE)</p></div></blockquote>]]></description><guid isPermaLink="false">774</guid><pubDate>Fri, 30 Nov 2012 11:29:35 +0000</pubDate></item></channel></rss>
