| |||||||||||
| |||||||||||
Sample RSS data feed (XML data)
Handling XML in Perl example from a Well House Consultants training course
More on Handling XML in Perl [link]
Source code: index.xml Module: P668
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"> <channel> <title>Horse's Mouth</title> <link>http://www.wellho.net/horse/</link> <description>Musing, events and thoughts from Graham Ellis</description> <language>en-us</language> <copyright>Copyright 2009</copyright> <lastBuildDate>Wed, 26 Aug 2009 05:03:18 +0000</lastBuildDate> <pubDate>Wed, 26 Aug 2009 08:05:56 +0000</pubDate> <generator>http://www.movabletype.org/?v=3.01D</generator> <docs>http://blogs.law.harvard.edu/tech/rss</docs> <item> <title>Wiltshire / Melksham Weddings - guest accommodation</title> <description>Let's face it - it's the big day for the bride, and the last thing she wants to be worried about it where her more geographically distant friends and relatives will stay, whether they can get into their hotel rooms...</description> <link>http://www.wellho.net/archives/2009/08/index.html#002377</link> <guid>http://www.wellho.net/archives/2009/08/index.html#002377</guid> <category></category> <pubDate>Wed, 26 Aug 2009 05:03:18 +0000</pubDate> </item> <item> <title>Long job - progress bar techniques (Perl)</title> <description>Here's a "Perl for Larger Projects" example --- for use in illustrating the "advanced file and directory handling" and "handling huge data set" modules. Scenario ... I want to go through all the files and directories on a big drive,...</description> <link>http://www.wellho.net/archives/2009/08/index.html#002376</link> <guid>http://www.wellho.net/archives/2009/08/index.html#002376</guid> <category></category> <pubDate>Wed, 26 Aug 2009 01:16:15 +0000</pubDate> </item> <item> <title>Designing your data structures for a robust Perl application</title> <description>Whatever language you're programming in, design of your data structures is important. You should consider such design ahead of time, and before you start to code - "What am I going to be doing with this data" and "how do...</description> <link>http://www.wellho.net/archives/2009/08/index.html#002375</link> <guid>http://www.wellho.net/archives/2009/08/index.html#002375</guid> <category></category> <pubDate>Tue, 25 Aug 2009 08:09:17 +0000</pubDate> </item> <item> <title>Lead characters on Perl variable names</title> <description>Perl variable names mostly start with a special character: $ for a scalar variable - that's a variable that can hold an integer, a float, a string, a reference, or a compiled regular expression (that last not being terribly common)....</description> <link>http://www.wellho.net/archives/2009/08/index.html#002374</link> <guid>http://www.wellho.net/archives/2009/08/index.html#002374</guid> <category></category> <pubDate>Mon, 24 Aug 2009 21:38:14 +0000</pubDate> </item> <item> <title>Translation from Ghanaian to English</title> <description>In response to an email I have just received ... which shouts the subject line DO NOT IGNORE at me ... I'm not ignoring but providing you with a translation! Hello Hello Pardon me for not having the pleasure of...</description> <link>http://www.wellho.net/archives/2009/08/index.html#002373</link> <guid>http://www.wellho.net/archives/2009/08/index.html#002373</guid> <category></category> <pubDate>Sun, 23 Aug 2009 20:49:24 +0000</pubDate> </item> <item> <title>Public Transport from (and to) Melksham on Sundays</title> <description>I walked into the Town Centre in Melksham at around 9 O'clock this morning - a bright sunny morning and it was (as you would expect) quietish, but it certainly wasn't deadly quiet. A young gentlemen approach me, asking me...</description> <link>http://www.wellho.net/archives/2009/08/index.html#002372</link> <guid>http://www.wellho.net/archives/2009/08/index.html#002372</guid> <category></category> <pubDate>Sun, 23 Aug 2009 16:44:52 +0000</pubDate> </item> <item> <title>Quiet summer days? I think not!</title> <description>I was amused at the co-incidence ... to see that one of our most downloaded images in the last 24 hours has been this one, taken st least three years ago at the rear of " 404". It's a co-incidence because...</description> <link>http://www.wellho.net/archives/2009/08/index.html#002371</link> <guid>http://www.wellho.net/archives/2009/08/index.html#002371</guid> <category></category> <pubDate>Sat, 22 Aug 2009 23:41:16 +0000</pubDate> </item> <item> <title>C++, Python, and other training - do we use an IDE</title> <description>A question from my inbox ... "Do you use Visual Studio, or a similar IDE". And worth a full answer, and one to be shared. An IDE or Integrated Development Environment is a piece of software that provides the programmer...</description> <link>http://www.wellho.net/archives/2009/08/index.html#002370</link> <guid>http://www.wellho.net/archives/2009/08/index.html#002370</guid> <category></category> <pubDate>Fri, 21 Aug 2009 17:25:56 +0000</pubDate> </item> <item> <title>Using a cache for efficiency. Python and PHP examples</title> <description>Ask yourself "how long is it (in seconds) from 5.36 a.m. and 20 seconds to 6.04 a.m. and 39 seconds". Have you worked that out? Now - how long is it (in seconds) from 5.36 a.m. and 20 seconds to...</description> <link>http://www.wellho.net/archives/2009/08/index.html#002369</link> <guid>http://www.wellho.net/archives/2009/08/index.html#002369</guid> <category></category> <pubDate>Fri, 21 Aug 2009 07:25:05 +0000</pubDate> </item> <item> <title>Python - fresh examples of all the fundamentals</title> <description>Some more new examples in Python - from this week's course. From my Introduction to Python / simple example to show the power of the language, I present my example that parsed a big data (log) file and counter and...</description> <link>http://www.wellho.net/archives/2009/08/index.html#002368</link> <guid>http://www.wellho.net/archives/2009/08/index.html#002368</guid> <category></category> <pubDate>Thu, 20 Aug 2009 22:10:36 +0000</pubDate> </item> <item> <title>Learning to program - how to jump the first hurdles</title> <description>From last Sunday ... here are links to the examples of code that I wrote in front of the "Learning to Program in Python" delegates - to show them not only how a program works, but also how I (and...</description> <link>http://www.wellho.net/archives/2009/08/index.html#002367</link> <guid>http://www.wellho.net/archives/2009/08/index.html#002367</guid> <category></category> <pubDate>Thu, 20 Aug 2009 07:45:03 +0000</pubDate> </item> <item> <title>At the end of the course</title> <description> Already, the days are getting shorter. At the end of the Python Course, I walked along the canal with one of our delegates who - wisely - decided to stop an extra night and drive home to East Yorkshire...</description> <link>http://www.wellho.net/archives/2009/08/index.html#002366</link> <guid>http://www.wellho.net/archives/2009/08/index.html#002366</guid> <category></category> <pubDate>Wed, 19 Aug 2009 23:33:13 +0000</pubDate> </item> <item> <title>Counting Words in Python via the web</title> <description>I love writing things in Python - it's a great language for achieving a great deal in a short time. And it works well got Simple CGI scripts. Today's challenge - to count the number of words (and number of...</description> <link>http://www.wellho.net/archives/2009/08/index.html#002365</link> <guid>http://www.wellho.net/archives/2009/08/index.html#002365</guid> <category></category> <pubDate>Tue, 18 Aug 2009 17:27:20 +0000</pubDate> </item> <item> <title>Getting it right from the start - new programmers</title> <description>From yesterday's "Learning to Program in Python" - an example of splitting your program into manageable chunks, which is SO IMPORTANT with regard to testing and ongoing maintenance that we introduce the subject even on that first day, with some...</description> <link>http://www.wellho.net/archives/2009/08/index.html#002364</link> <guid>http://www.wellho.net/archives/2009/08/index.html#002364</guid> <category></category> <pubDate>Mon, 17 Aug 2009 07:02:08 +0000</pubDate> </item> <item> <title>Alpaca Case or Camel Case</title> <description> A very first practical program on our Learning to Program in Python course that started today. Even at this early stage, we teach things like good practise in variable naming - standards such as using a consistent case (e.g....</description> <link>http://www.wellho.net/archives/2009/08/index.html#002363</link> <guid>http://www.wellho.net/archives/2009/08/index.html#002363</guid> <category></category> <pubDate>Sun, 16 Aug 2009 17:09:02 +0000</pubDate> </item> </channel> </rss> Learn about this subject
This module and example are covered on our public Perl for Larger Projects course. If you have a group of
three or more trainees who need to learn the subject, we can also arrange a
private or on site course for you.
Books covering this topic
Yes. We have over 700 books in our library. Books
covering Perl are listed here and when you've selected a
relevant book we'll link you on to Amazon to order.
Other Examples
This example comes from our "Handling XML in Perl" training module. You'll find a description of the topic and some
other closely related examples on the "Handling XML in Perl" module index page.
Full description of the source code
You can learn more about this example on the training courses listed on this page,
on which you'll be given a full set of training notes.
Many other training modules are available for download (for limited use) from our download centre under an Open Training Notes License. Other resources
• Our Solutions centre provides a number of longer technical articles.
• Our Opentalk forum archive provides a question and answer centre. • The Horse's mouth provides a daily tip or thought. • Further resources are available via the resources centre. • All of these resources can be searched through through our search engine • And there's a global index here. Web site author
Purpose of this website
This is a sample program, class demonstration or answer from a
training course. It's main purpose
is to provide an after-course service to customers who have attended our
public private or
on site courses, but the examples are made
generally available under conditions described below.
Conditions of use
Past attendees on our training courses are welcome to use individual
examples in the course of their programming, but must check
the examples they use to ensure that they are suitable for their
job. Remember that some of our examples show you how not to do
things - check in your notes. Well House Consultants take no responsibility
for the suitability of these example programs to customer's needs.
This program is copyright Well House Consultants Ltd. You are forbidden from using it for running your own training courses without our prior written permission. See our page on courseware provision for more details. Any of our images within this code may NOT be reused on a public URL without our prior permission. For Bona Fide personal use, we will often grant you permission provided that you provide a link back. Commercial use on a website will incur a license fee for each image used - details on request. |
| ||||||||||
PH: 01144 1225 708225 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho PAGE: http://www.wellho.net/resources/ex.php • PAGE BUILT: Sun Oct 11 14:50:09 2020 • BUILD SYSTEM: JelliaJamb |