added
This commit is contained in:
1 parent
f5aebfaf77
commit
87cc362513
1541 files changed
+25537
-2
No files matched your search
@@ -0,0 +1,48 @@
|
||||
# Future Map Insights Hub Publisher
|
||||
|
||||
This workflow is adapted from `insights-hub-posts-last-6-months.py` in the Eddie Soehnel Portable Identity Document repository.
|
||||
|
||||
## Selection Rule
|
||||
|
||||
A source JSON record is included when its `HubTags` value contains the exact tag `Future Map`. Records may have additional tags. There is no date cutoff.
|
||||
|
||||
The loader accepts legacy literal control characters inside JSON strings so all otherwise valid tagged records are included. Copied JSON files remain byte-for-byte source copies.
|
||||
|
||||
## Source
|
||||
|
||||
- Hrecords: `C:\Users\edsoe\My Drive\Personal Organization\JSON_Database\hrecords`
|
||||
- Media: `C:\Users\edsoe\My Drive\Personal Organization\JSON_Database\files`
|
||||
|
||||
## Outputs
|
||||
|
||||
- `data/insights-hub/hrecords/`: matching source JSON records
|
||||
- `data/insights-hub/files/`: locally referenced `File` and `Image` assets
|
||||
- `data/insights-hub/future-map-insights.md`: reverse-chronological Markdown digest with inline images
|
||||
|
||||
These directories are generated outputs. Do not edit generated JSON, media, or digest content manually; make source changes in the Personal Organization database and rerun the publisher.
|
||||
|
||||
Each run synchronizes the generated folders to the current exact-tag selection. Stale generated JSON and media copies are removed when they are no longer selected or referenced. They remain recoverable from the authoritative source database or by rerunning the publisher after restoring the source tag/reference.
|
||||
|
||||
## Run Manually
|
||||
|
||||
```text
|
||||
python scripts/future-map-insights-hub/publish_future_map_insights.py
|
||||
```
|
||||
|
||||
Or use the same runner used by Task Scheduler:
|
||||
|
||||
```text
|
||||
powershell -NoProfile -ExecutionPolicy Bypass -File scripts/future-map-insights-hub/run_daily.ps1
|
||||
```
|
||||
|
||||
Daily logs are written to the ignored repository-root `logs/` directory.
|
||||
|
||||
## Install the Daily Task
|
||||
|
||||
The default task name is `FutureMap-InsightsHub-Daily`, running every day at 6:00 AM local time:
|
||||
|
||||
```text
|
||||
powershell -NoProfile -ExecutionPolicy Bypass -File scripts/future-map-insights-hub/install_daily_task.ps1
|
||||
```
|
||||
|
||||
The task refreshes the local repository only. It does not stage, commit, push, or publish changes to Gitea.
|
||||
Reference in new issue
Block a user