panews-web-viewer
Original:🇺🇸 English
Translated
1 scripts
Read public PANews website pages as Markdown. Use for homepage, article-page, and column-page reads.
6installs
Sourcepanewslab/skills
Added on
NPX Install
npx skill4agent add panewslab/skills panews-web-viewerTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Fetches pages as Markdown via . Responses include a YAML frontmatter block with page metadata (, , ).
www.panewslab.comAccept: text/markdowntitledescriptionimageCurrent first-class support in this skill is single-page fetching through the bundled script below. It is intended for homepage, article-page, and column-page reads, not broad site crawling.
When to Use
- The user provides or implies a PANews web URL
- The task is to read the rendered article page, homepage, or column page as Markdown
- The caller wants the page content, not the underlying JSON API shape
Do Not Use When
- The task is structured search, rankings, or filtered API retrieval
- The task requires creator authentication or write access
- The user asks for JSON fields rather than page Markdown
Supported Languages
| Locale | Prefix |
|---|---|
| Simplified Chinese | |
| Traditional Chinese | |
| English | |
| Japanese | |
| Korean | |
Standard Workflow
text
PANews Web Progress:
- [ ] Step 1: Confirm this is a website-page task, not an API task
- [ ] Step 2: Choose the locale prefix
- [ ] Step 3: Fetch with Accept: text/markdown
- [ ] Step 4: Preserve frontmatter metadata in the responseScripts
bash
node {Skills Directory}/panews-web-viewer/scripts/fetch-page.mjs <path-or-url> [--lang zh]Usage
bash
node {Skills Directory}/panews-web-viewer/scripts/fetch-page.mjs /articles/ARTICLE_ID --lang en
node {Skills Directory}/panews-web-viewer/scripts/fetch-page.mjs https://www.panewslab.com/zh-hant/columns/COLUMN_IDRules
- Prefer the bundled script; if you fall back to
fetch-page.mjs, usecurl-sSL - Always include the locale prefix in the URL
- Route to if the user asks for structured search or filterable API data
panews
Failure Handling
- If the page returns , report it as unavailable rather than trying to synthesize content from API endpoints
404 - If the caller gives a path without a locale prefix, add the prefix from or default to
--langzh