Skip to main content

Reads the OpenVoiceOS blog aloud - provider skill for ovos-skill-common-reading

Project description

OVOS Blog

A provider skill for ovos-common-reading-pipeline-plugin, reading the OpenVoiceOS blog aloud.

This exists to prove a point: common-reading isn't just for fairy tales. It's an "article" provider, not a storyteller.

Tests PyPI version

This skill has no standalone voice interface. It registers no intents and never speaks. It only answers ovos.common_reading.* bus messages, so you also need ovos-common-reading-pipeline-plugin installed and added to your pipeline config for it to be useful at all.

Install

pip install ovos-skill-ovosblog ovos-common-reading-pipeline-plugin

Source

Feeds from https://blog.openvoiceos.org/feed.xml (RSS 2.0). The feed already contains full article HTML in <description>, not just a summary, so no separate page fetch is needed - just the feed itself (refreshed at most once an hour, matching the feed's own <ttl>60</ttl>).

Translation

The feed is English-only. If the device language isn't English, this provider machine-translates:

  • titles, before matching a spoken phrase against them (a Danish user speaks a Danish phrase, so that's what has to be matched - not the English original), and
  • the full article text, when actually reading it aloud.

using whatever ovos-plugin-manager language-translation plugin is configured (OVOSLangTranslationFactory.create()).

Every search response includes a "machine_translated": true/false field - ovos-common-reading-pipeline-plugin is expected to disclose this before reading the content aloud, so users know it's a machine translation rather than an original-language text.

If no translation plugin is installed/configured, this provider does not respond to searches at all for a non-English device - it would be misleading to offer an article it can only actually deliver in English when the user asked in (and expects) their own language. (English devices never need a translator and always get a response.)

Note for anyone comparing providers: unlike ovos-skill-andersen-tales/ovos-skill-grimm-tales/ ovos-skill-andrew-lang-tales, which check a fixed SUPPORTED_LANGUAGES set at load time and refuse to load at all otherwise, this provider always loads regardless of device language - it can't know in advance whether a translation plugin will be available, so it always registers its bus events and decides per-search instead (see above).

Collection hints

Responds to collection_hint values like "openvoiceos blog", "ovos blog", "open voice os blog".

Content type

Responds to content_type hints of "article", "blog", "news", or "post". Ignores everything else (e.g. "story", "poem").

"Surprise me"

A search with no specific phrase but a matching collection_hint (e.g. "read me something from the OVOS blog") returns the most recent post, by pubDate.

Credits

Content and feed from blog.openvoiceos.org, maintained by the OpenVoiceOS community.

Category

News

Tags

#news #blog #openvoiceos #rss #provider

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ovos_skill_ovosblog-0.1.1.tar.gz (24.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ovos_skill_ovosblog-0.1.1-py3-none-any.whl (20.8 kB view details)

Uploaded Python 3

File details

Details for the file ovos_skill_ovosblog-0.1.1.tar.gz.

File metadata

  • Download URL: ovos_skill_ovosblog-0.1.1.tar.gz
  • Upload date:
  • Size: 24.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for ovos_skill_ovosblog-0.1.1.tar.gz
Algorithm Hash digest
SHA256 f987f595fce3d4bb9b47708ad274e5358a3041514b485ed3a4aad196024bc829
MD5 a041edc2e27c694e56d151cffbe9f6b2
BLAKE2b-256 80f59e0094050256cb1e3be7fa8d3571c3097ac439241daf03bbcd22bddb01dc

See more details on using hashes here.

Provenance

The following attestation bundles were made for ovos_skill_ovosblog-0.1.1.tar.gz:

Publisher: publish.yml on andlo/ovos-skill-ovosblog

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ovos_skill_ovosblog-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for ovos_skill_ovosblog-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c6a57d57fd5c9acf10057a232054358cdf04491e88864381a2cd10a03d03f715
MD5 21dfb84e93c1caba4a3ca895c0705b72
BLAKE2b-256 fb709b0e312d9d63220ada03cb46eafdde6ff4e3015e40f20e7a62c271588944

See more details on using hashes here.

Provenance

The following attestation bundles were made for ovos_skill_ovosblog-0.1.1-py3-none-any.whl:

Publisher: publish.yml on andlo/ovos-skill-ovosblog

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page