You are looking at the HTML representation of the XML format.
HTML is good for debugging, but is unsuitable for application use.
Specify the format parameter to change the output format.
To see the non HTML representation of the XML format, set format=xml.
See the complete documentation, or API help for more information.
<?xml version="1.0"?>
<api>
  <query-continue>
    <allpages gapcontinue="Recipes" />
  </query-continue>
  <query>
    <pages>
      <page pageid="556" ns="0" title="Read">
        <revisions>
          <rev contentformat="text/x-wiki" contentmodel="wikitext" xml:space="preserve">{{lowercase}}
{{Function
|name=read
|args= &lt;nowiki&gt;[&lt;/nowiki&gt; [[char (type)|char]] replacement &lt;nowiki&gt;[, &lt;/nowiki&gt;[[table (type)|table]] history &lt;nowiki&gt;[, &lt;/nowiki&gt;[[function (type)|function]] auto complete &lt;nowiki&gt;]]&lt;/nowiki&gt; &lt;nowiki&gt;]&lt;/nowiki&gt;
|api=
|returns=[[string (type)|string]] The user's input
|addon=ComputerCraft
|desc=Lets you get input of the user.
|examples=
{{Example
|desc=Prints what the user wrote.
|code=[[print]] (read())
|output=Whatever the user wrote.
}}
{{Example
|desc=Ask for a Password and lets the user enter it. The letters are hidden by '*'.
|code=local password = &quot;computercraft&quot;
 [[print]] (&quot;Enter Password&quot;)
 local input = read(&quot;*&quot;)
 if input == password then
  [[print]](&quot;Password is correct. Access granted.&quot;)
 else
  [[print]](&quot;Password is incorrect. Access denied.&quot;)
 end
|output=Enter Password
&lt;nowiki&gt;*******&lt;/nowiki&gt;
Password is correct. Access granted. or Password is incorrect. Access denied.
}}
}}

[[Category:Tutorials]]</rev>
        </revisions>
      </page>
      <page pageid="423" ns="0" title="Receiving a rednet message through os.pullEvent()">
        <revisions>
          <rev contentformat="text/x-wiki" contentmodel="wikitext" xml:space="preserve">The following method is a good method of receiving a [[Rednet_(API)|rednet]] message without using rednet.receive().
It is usually used in IRC, Chat programs e.t.c.
When a message arrives to a computer, a &quot;rednet_message&quot; event occurs.  
== The Code ==
This is a typical Listener which prints the content and the sender id of any incoming message.
 for n,m in ipairs(rs.getSides()) do rednet.open(m) end -- Opens all rednet sides.
 while true do
   local event, id, text = os.pullEvent()
   if event == &quot;rednet_message&quot; then
     print(id .. &quot;&gt; &quot; .. text)
   end
 end

== Explanation ==
 for n,m in ipairs(rs.getSides()) do rednet.open(m) end
Here we just open all sides for rednet processing.

 while true do
We start a loop because os.pullEvent() terminates itself after 10 seconds.

 local event, id, text = os.pullEvent()
We wait for an event to occur and when this happens, we store the event's info into 3 variables.
NOTE: You can give your variables whichever name you want.

 if event == &quot;rednet_message&quot; then
We check if the event was a rednet message.

 print(id .. &quot;&gt; &quot; .. text)
We print the message and the id of the sender.

 end
 end
We close our previous statements.

=== Security ===
Beware that rednet is not secure on its own, with easily exploitable vulnerabilities that allow hackers to hack your networks into pieces--through attacks like wiretapping, spoofing, forgery, overloading, and many more. Be sure to add your own security when using rednet.

[[Category:Tutorials]]</rev>
        </revisions>
      </page>
    </pages>
  </query>
</api>