Recent Changes - Search:

add Test page

hide Test

Test


hide Topics

Topics

show Changed

Changed

Visitor's book Site map pmwiki-2.3.37

NZ DoC-Campsites

MessagesReplacement version 2024-09-16new

Testing the Cookbook:NZDoC recipe, see NZDoC

NZDoC version 2024-04-10new

See Cookbook.NZDoC, Cookbook:NZDoC, and https://https://api.doc.govt.nz/(approve sites).

Note: all these tests use the development version of NZDoC - NZDoCnew

Test Campsites

type=campsite (Anapai Bay Campsite)
(:nzdoc type=campsite id=100043757:)

campsite requires content type to be specified


type=campsite id=100065537 content=alert (Trotters Gorge Campsite)
(:nzdoc type=campsite id=100065537 content=alert:)


No alerts returned for https://api.doc.govt.nz/v2/campsites/100065537/alerts?coordinates=wgs84


type=campsite id=100043757 content=detail (Anapai Bay Campsite)
(:nzdoc type=campsite id=100043757 content=detail:)


cURL DoC API error: "The requested URL returned error: 500" https://api.doc.govt.nz/v2/campsites/100043757/detail?coordinates=wgs84


type=campsite id=100031362 content=detail (Otaki Forks)
(:nzdoc type=campsite id=100031362 content=detail:)


cURL DoC API error: "The requested URL returned error: 500" https://api.doc.govt.nz/v2/campsites/100031362/detail?coordinates=wgs84


type=campsite id=100031362 content=alert (Otaki Forks)
(:nzdoc type=campsite id=100031362 content=alert:)
Ōtaki Forks Campsite alert

Ōtaki Forks Campsite closed

Ōtaki Forks Campsite is closed due to the closure of Ōtaki Gorge Road. There is summer camping available at Boielles Campsite, however, this is foot access only. This can be booked online.

This is a long term alert. 

First published on 15 December 2023. Last reviewed on 8 October 2024.

Ōtaki Forks Campsite is closed due to the closure of Ōtaki Gorge Road. There is summer camping available at Boielles Campsite, however, this is foot access only. This can be booked online.

This is a long term alert. 

First published on 15 December 2023. Last reviewed on 8 October 2024.

Ōtaki Gorge Road closed to vehicles and pedestrians

Ōtaki Gorge Road is closed to vehicles and pedestrians due to a major slip. Camping is available at Boielles Campsite but for foot access only.

There is an emergency track that you can walk to gain access to Ōtaki Forks. It is 5 km long and can be accessed 200 m past the locked gate on the Ōtaki Gorge Road.

This is a long term alert.

First published on 20 December 2022. Last reviewed on 2 October 2024.

Ōtaki Gorge Road is closed to vehicles and pedestrians due to a major slip. Camping is available at Boielles Campsite but for foot access only.

There is an emergency track that you can walk to gain access to Ōtaki Forks. It is 5 km long and can be accessed 200 m past the locked gate on the Ōtaki Gorge Road.

This is a long term alert.

First published on 20 December 2022. Last reviewed on 2 October 2024.


type=campsite id=cromel content=find
(:nzdoc type=campsite id=cromel content=find:)


cURL DoC API error: "The requested URL returned error: 500" https://api.doc.govt.nz/v2/campsites?coordinates=wgs84


type=campsite id='Ferndale campsite' content=find
(:nzdoc type=campsite id='Ferndale campsite' content=find:)

(:nzdoc type=campsite id='Ferndale campsite' content=find:)


Campsite alerts

type=campsite content=alerts
(:nzdoc type=campsite content=alerts:)

(:nzdoc type=campsite content=alerts:)


All campsites

type=campsite content=all
(:nzdoc type=campsite content=all:)


cURL DoC API error: "The requested URL returned error: 500" https://api.doc.govt.nz/v2/campsites?coordinates=wgs84


Campsites dump

type=campsite content=dump
(:nzdoc type=campsite content=dump:)


cURL DoC API error: "The requested URL returned error: 500" https://api.doc.govt.nz/v2/campsites?coordinates=wgs84

Messages

nzdocnew

nzdocnew


D:\Home\KiwiWiki\pmwiki\cookbook\nzdocnew.php
: '2024-04-10new'


markup: '/\(:nzdoc\s*(?:(?:(id=(?:[0-9]{9}|[0-9\-a-f]{36}|(?:NZ|DOC)-[a-z]{3}|[\\&\&#8217;'\(\)\.\-\/a-z&#257;&#275;&#299;&#333;&#363;]+))|(type=(?<q1>\'|\"|)(?:hut|track|campsite)\k<q1>)|(content=(?:alert|detail|region|all|dump|check|find|list))|(show=alert(s)?; #(?:[a-z]+,)*[a-z]+))\s*){1,4}(?:(?:(h=[12345])|(float=(?:left|right))|(clear=(?:left|right|both)))\s*){0,4}\s*:\)/i'

return: 'NZDoCnew'


NZDoCnew\NZDoC_Parse
: ak: #idtype
Array
(
    [#] => Array
        (
            [0] => id
            [1] => 100043757
            [2] => type
            [3] => campsite
        )

    [id] => 100043757
    [type] => campsite
)



: null


parm: : 'id:"100043757" typ:"campsite" cnt:"" ""'

parm: : 'id:"100043757" typ:"campsite" cnt:"" ""'


NZDoCnew\NZDoC_Parse
: ak: #idtypecontent
Array
(
    [#] => Array
        (
            [0] => id
            [1] => 100065537
            [2] => type
            [3] => campsite
            [4] => content
            [5] => alert
        )

    [id] => 100065537
    [type] => campsite
    [content] => alert
)



: null


parm: : 'id:"100065537" typ:"campsite" cnt:"alert" ""'

parm: : 'id:"100065537" typ:"campsite" cnt:"alert" ""'

doc_facilities_alert: 'https://api.doc.govt.nz/v2/campsites/100065537/alerts?coordinates=wgs84'


NZDoCnew\NZDoC_Parse
: ak: #idtypecontent
Array
(
    [#] => Array
        (
            [0] => id
            [1] => 100043757
            [2] => type
            [3] => campsite
            [4] => content
            [5] => detail
        )

    [id] => 100043757
    [type] => campsite
    [content] => detail
)



: null


parm: : 'id:"100043757" typ:"campsite" cnt:"detail" ""'

parm: : 'id:"100043757" typ:"campsite" cnt:"detail" ""'

doc_facilities_campsite: 'https://api.doc.govt.nz/v2/campsites/100043757/detail?coordinates=wgs84'

cURL DoC API error: ": 'The requested URL returned error: 500" https://api.doc.govt.nz/v2/campsites/100043757/detail?coordinates=wgs84'


NZDoCnew\NZDoC_Parse
: ak: #idtypecontent
Array
(
    [#] => Array
        (
            [0] => id
            [1] => 100031362
            [2] => type
            [3] => campsite
            [4] => content
            [5] => detail
        )

    [id] => 100031362
    [type] => campsite
    [content] => detail
)



: null


parm: : 'id:"100031362" typ:"campsite" cnt:"detail" ""'

parm: : 'id:"100031362" typ:"campsite" cnt:"detail" ""'

doc_facilities_campsite: 'https://api.doc.govt.nz/v2/campsites/100031362/detail?coordinates=wgs84'

cURL DoC API error: ": 'The requested URL returned error: 500" https://api.doc.govt.nz/v2/campsites/100031362/detail?coordinates=wgs84'


NZDoCnew\NZDoC_Parse
: ak: #idtypecontent
Array
(
    [#] => Array
        (
            [0] => id
            [1] => 100031362
            [2] => type
            [3] => campsite
            [4] => content
            [5] => alert
        )

    [id] => 100031362
    [type] => campsite
    [content] => alert
)



: null


parm: : 'id:"100031362" typ:"campsite" cnt:"alert" ""'

parm: : 'id:"100031362" typ:"campsite" cnt:"alert" ""'

doc_facilities_alert: 'https://api.doc.govt.nz/v2/campsites/100031362/alerts?coordinates=wgs84'

assetId: '100031362'

count: 'Ca:1 Ar:1 Ky:[assetId]:+ #:3 R:11'

DoC API:
100031362
Ōtaki Forks Campsite
[0] =8 October 2024 Ōtaki Forks Campsite closed <p>Ōtaki Forks Campsite is closed due to the closure of Ōtaki Gorge Road. There is summer camping available at <a href="https://www.doc.govt.nz/parks-and-recreation/places-to-go/wellington-kapiti/places/tararua-forest-park/things-to-do/campsites/boielles-campsite/">Boielles Campsite</a>, however, this is foot access only. This can be booked online.</p> <p><em>This is a long term alert.&nbsp;</em></p> First published on 15 December 2023. Last reviewed on 8 October 2024. [1] =2 October 2024 Ōtaki Gorge Road closed to vehicles and pedestrians <p>Ōtaki Gorge Road is closed to vehicles and pedestrians due to a major slip. Camping is available at Boielles Campsite but for foot access only.</p> <p>There is an emergency track that you can walk to gain access to Ōtaki Forks. It is 5 km long and can be accessed 200 m past the locked gate on the Ōtaki Gorge Road.</p> <ul> <li><a href="https://www.doc.govt.nz/parks-and-recreation/places-to-go/wellington-kapiti/places/tararua-forest-park/otaki-forks-area/otaki-gorge-emergency-track-to-tararua-forest-park/">Ōtaki Gorge emergency track</a></li> <li><a href="https://www.doc.govt.nz/contentassets/2dc207f432234214a58eb502cf040ffc/otaki-gorge-emergency-track-map.pdf">Map of the emergency track (PDF, 2,290K)</a>.</li> </ul> <p><em>This is a long term alert.</em></p> First published on 20 December 2022. Last reviewed on 2 October 2024.


count: 'Ca:1 Ar:1 Ky:[0]:1+1 #:1 R:12 [0]:3 av:3'

DoC API:
[assetId]=100031362 [name]=Ōtaki Forks Campsite [alerts]=8 October 2024 Ōtaki Forks Campsite closed <p>Ōtaki Forks Campsite is closed due to the closure of Ōtaki Gorge Road. There is summer camping available at <a href="https://www.doc.govt.nz/parks-and-recreation/places-to-go/wellington-kapiti/places/tararua-forest-park/things-to-do/campsites/boielles-campsite/">Boielles Campsite</a>, however, this is foot access only. This can be booked online.</p> <p><em>This is a long term alert.&nbsp;</em></p> First published on 15 December 2023. Last reviewed on 8 October 2024. 2 October 2024 Ōtaki Gorge Road closed to vehicles and pedestrians <p>Ōtaki Gorge Road is closed to vehicles and pedestrians due to a major slip. Camping is available at Boielles Campsite but for foot access only.</p> <p>There is an emergency track that you can walk to gain access to Ōtaki Forks. It is 5 km long and can be accessed 200 m past the locked gate on the Ōtaki Gorge Road.</p> <ul> <li><a href="https://www.doc.govt.nz/parks-and-recreation/places-to-go/wellington-kapiti/places/tararua-forest-park/otaki-forks-area/otaki-gorge-emergency-track-to-tararua-forest-park/">Ōtaki Gorge emergency track</a></li> <li><a href="https://www.doc.govt.nz/contentassets/2dc207f432234214a58eb502cf040ffc/otaki-gorge-emergency-track-map.pdf">Map of the emergency track (PDF, 2,290K)</a>.</li> </ul> <p><em>This is a long term alert.</em></p> First published on 20 December 2022. Last reviewed on 2 October 2024.



NZDoCnew\NZDoC_Parse
: ak: #idtypecontent
Array
(
    [#] => Array
        (
            [0] => id
            [1] => cromel
            [2] => type
            [3] => campsite
            [4] => content
            [5] => find
        )

    [id] => cromel
    [type] => campsite
    [content] => find
)



: null


parm: : 'id:"cromel" typ:"campsite" cnt:"find" ""'

parm: : 'id:"cromel" typ:"campsite" cnt:"find" ""'

doc_facilities_search: 'https://api.doc.govt.nz/v2/campsites?coordinates=wgs84'


NZDoCnew\NZDoC_Parse
: ak: #typecontent
Array
(
    [#] => Array
        (
            [0] => type
            [1] => campsite
            [2] => content
            [3] => all
        )

    [type] => campsite
    [content] => all
)



: null


parm: : 'id:"" typ:"campsite" cnt:"all" ""'

parm: : 'id:"" typ:"campsite" cnt:"all" ""'

doc_facilities_campsite: 'https://api.doc.govt.nz/v2/campsites?coordinates=wgs84'

cURL DoC API error: ": 'The requested URL returned error: 500" https://api.doc.govt.nz/v2/campsites?coordinates=wgs84'


NZDoCnew\NZDoC_Parse
: ak: #typecontent
Array
(
    [#] => Array
        (
            [0] => type
            [1] => campsite
            [2] => content
            [3] => dump
        )

    [type] => campsite
    [content] => dump
)



: null


parm: : 'id:"" typ:"campsite" cnt:"dump" ""'

parm: : 'id:"" typ:"campsite" cnt:"dump" ""'

doc_facilities_dump: 'https://api.doc.govt.nz/v2/campsites?coordinates=wgs84'

cURL DoC API error: ": 'The requested URL returned error: 500" https://api.doc.govt.nz/v2/campsites?coordinates=wgs84'

tahi Page last modified on 2022 Aug 17 17:27

Edit - History - Recent Changes - WikiHelp - Search - ?Subject="KiwiWiki: NZ Do C-Campsites"&Body="From KiwiWiki: NZ Do C-Campsites (https://kiwiwiki [period] nz/Test/NZDoC-Campsites) - Testing the Cookbook:NZDoC recipe, see [[Cookbook/NZDoC" | email page as link ]]