Latest Neocron News and Information

  • New test server patch #550 has been released to Vedeena
  • New retail server patch #551 has been released to Titan

Difference between revisions of "Legacy THNapi:Views"

From Neocron Wiki
Jump to: navigation, search
(Found out why this command isn't working)
Line 51: Line 51:
 
This is for testing the CSS stylesheet in External websites. This command currently does not work as the view classes need restructuring to allow non-item lists to be generated.
 
This is for testing the CSS stylesheet in External websites. This command currently does not work as the view classes need restructuring to allow non-item lists to be generated.
  
[[Category:THN HTML API commands|View names]]
+
[[Category:THN API commands|View names]]
 
[[Category:Wiki Item DB tags|View names]]
 
[[Category:Wiki Item DB tags|View names]]

Revision as of 16:05, 20 April 2008

Item DB Views

The THN Item DB has a feature called "views". They are like Database views, in that it shows a subset of data from the Item DB. For example there is a view to show WoC items, which will scan the database for any item that is flagged as a WoC item, or needs a WoC skill to use it.

Views are also used to provide access to additional Item DB functions, such as the Search page.

Not all views can be used outside the main Techhaven Network website. Some of these views are specialised for a purpose that isn't suitable for an external API user (For exmaple, there is a Google Sitemap view, which is used for Google.)

List of views

These are the current views avaialble to THN API users.

Faction Supply Manager Items

This command can't be used Externally until the next Item DB/THN API release.

Faction Database Items

This command can't be used Externally until the next Item DB/THN API release.

Rare Items

  • View name: rares

Mr Jones Items

  • View name: mr-jones

Recycle items

  • View name: recycle

WoC items

  • View name: woc-items

PPU Items Grouped

  • View name: ppu

THN API CSS Test Page

  • View name: html_test_page

This is for testing the CSS stylesheet in External websites. This command currently does not work as the view classes need restructuring to allow non-item lists to be generated.