Subject: | readcat() returns HTML |
using readcat() on wikibooks.org (I haven't tested it yet on other
wikis) returns the list of pages and some other random HTML markup. For
example, running it on an empty category gives:
Wikibooks (English)" />
<link rel="copyright" href="http://www.gnu.org/copyleft/fdl.html" />
<link rel="alternate" type="application/rss+xml" title="Wikibooks RSS
Feed"
href="http://en.wikibooks.org/w/index.php?title=Special:Recentchanges&feed=rss"
/>
<link rel="alternate" type="application/atom+xml" title="Wikibooks Atom
Feed"
href="http://en.wikibooks.org/w/index.php?title=Special:Recentchanges&feed=atom"
/>
<title>Category:Crapola - Wikibooks, collection of open-content
textbooks</title>
<style type="text/css" media="screen, projection
Special:Search/Crapola
http://en.wikibooks.org/w/index.php?title=Category:Crapola&action=edit"
rel="nofollow
http://en.wikibooks.org/w/index.php?title=Category:Crapola&action=purge"
rel="nofollow
http://en.wikibooks.org/w/index.php?title=Special:Log&type=delete&page=Category:Crapola"
rel="nofollow
View the category page [c]" accesskey="c
Discussion about the content page [t]" accesskey="t
You can edit this page. Please use the preview button before saving.
[e]" accesskey="e
You are encouraged to log in, it is not mandatory however. [o]" accesskey="o
Visit the Main Page [z]" accesskey="z
Visit the Main Page [z]" accesskey="z
The place to find out.
The list of recent changes in the wiki. [r]" accesskey="r
Support us
Find background information on current events
About the project, what you can do, where to find things
Search Wikibooks [f]" accesskey="f" value="" />
<input type='submit' name="go" class="searchButton"
id="searchGoButton" value="Go" title="Go to a page with this exact name
if exists" />
<input type='submit' name="fulltext" class="searchButton"
id="mw-searchButton" value="Search" title="Search the pages for this
text" />
</div></form>
</div>
</div>
<div class="portlet" id="p-tb
List of all wiki pages that link here [j]" accesskey="j
Upload files [u]" accesskey="u
List of all special pages [q]" accesskey="q
Printable version of this page [p]" accesskey="p
wikimedia:Privacy policy
Wikibooks:About
Wikibooks:General disclaimer