Official Gazette RSS feed
get_official_gazette_feedFetch official Philippine gazette issuances with pagination, returning titles and links, and handling invalid pages or upstream errors.
Instructions
Latest issuances from the Official Gazette of the Republic of the Philippines.
Reads the government's own RSS feed of proclamations, memorandum circulars, and other issuances, ten items per page, newest first. Examples:
get_official_gazette_feed() # page 1, the newest 10 issuances get_official_gazette_feed(page=2) # the next 10 issuances
On failure: a page outside 1 to 50 returns data_status "invalid_request" with validation_error true and no fetch attempted. A Cloudflare block page, the only other response this host sends on a bad call, returns data_status "unavailable" with upstream_error true and the real status and content type in caveats. An item with neither a title nor a link is dropped and counted in caveats. A page 1 response that parses as valid RSS but keeps zero issuances, whether the feed sent none or every item was dropped, is drift and returns data_status "indeterminate". A page above 1 with zero issuances is a genuine empty page and returns data_status "empty".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page of the feed, 1 to 50. Page 1 reads /feed/, a page above 1 reads /feed/?paged=<page>. Default 1. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||