Skip to content

Commit

Permalink
Switch to subdomain of fileformat.info
Browse files Browse the repository at this point in the history
  • Loading branch information
fileformat committed Jan 25, 2025
1 parent e0c75fc commit c44b910
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 14 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# OPML Outline Viewer [<img alt="Outline Viewer logo" src="public/favicon.svg" height="90" align="right" />](https://opml.xml.style/)
# OPML Outline Viewer [<img alt="Outline Viewer logo" src="public/favicon.svg" height="90" align="right" />](https://opml-viewer.fileformat.info/)

[![NodePing status](https://img.shields.io/nodeping/status/O0XVZ8N8-AB6K-4DZG-80XJ-5P7F7HP3DCMG?label=Current%20status)](https://nodeping.com/reports/checks/O0XVZ8N8-AB6K-4DZG-80XJ-5P7F7HP3DCMG)
[![NodePing uptime](https://img.shields.io/nodeping/uptime/O0XVZ8N8-AB6K-4DZG-80XJ-5P7F7HP3DCMG?label=30-day%20uptime)](https://nodeping.com/reports/uptime/O0XVZ8N8-AB6K-4DZG-80XJ-5P7F7HP3DCMG)
[![deploy](https://github.com/fileformat/opml.xml.style/actions/workflows/gcr-deploy.yaml/badge.svg)](https://github.com/fileformat/opml.xml.style/actions/workflows/gcr-deploy.yaml)
[![deploy](https://github.com/FileFormatInfo/opml-viewer/actions/workflows/gcr-deploy.yaml/badge.svg)](https://github.com/FileFormatInfo/opml-viewer/actions/workflows/gcr-deploy.yaml)

This is a graphical viewer for `opml.xml` outlines. Try it at [opml.xml.style](https://opml.xml.style/)!
This is a graphical viewer for `opml.xml` outlines. Try it at [opml-viewer.fileformat.info](https://opml-viewer.fileformat.info/)!

## Running locally

Expand Down
13 changes: 7 additions & 6 deletions public/demo.xml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
<?xml version="1.0" encoding="utf8"?>
<opml version="1.1">
<head>
<title>Demo for opml.xml.style</title>
<title>Demo for the OPML Viewer</title>
<dateCreated>2025-01-19 18:50:24.004243</dateCreated>
<dateModified>2025-01-19 18:50:24.004243</dateModified>
</head>
<body>
<outline text="Privatdozent" title="Privatdozent" type="rss" version="RSS" htmlUrl="https://www.privatdozent.co" xmlUrl="https://www.privatdozent.co/feed" />
<outline text="Bloggers">
<outline text="Simon Willison" title="Simon Willison" type="rss" version="RSS" htmlUrl="https://fedi.simonwillison.net/@simon" xmlUrl="https://fedi.simonwillison.net/@simon.rss" />
<outline text="Jacques Mattheij" title="Jacques Mattheij" type="rss" version="RSS" htmlUrl="https://jacquesmattheij.com/" xmlUrl="https://jacquesmattheij.com/rss.xml" />
Expand Down Expand Up @@ -61,10 +60,12 @@
<outline text="Vendors">
<outline text="Facebook Developers" title="Facebook Developers" type="rss" version="RSS" htmlUrl="https://developers.facebook.com/blog/" xmlUrl="https://developers.facebook.com/blog/feed" />
<outline text="ClickHouse Blog" title="ClickHouse Blog" type="rss" version="RSS" htmlUrl="https://clickhouse.com/blog" xmlUrl="https://clickhouse.com/rss.xml" />
<outline text="Google Developers Blog" title="Google Developers Blog" type="rss" version="RSS" htmlUrl="https://developers.googleblog.com/rss/" xmlUrl="http://feeds.feedburner.com/GDBcode" />
<outline text="Google Maps Platform" title="Google Maps Platform" type="rss" version="RSS" htmlUrl="http://mapsplatform.googleblog.com/" xmlUrl="http://feeds.feedburner.com/GoogleGeoDevelopersBlog" />
<outline text="Google Open Source Blog" title="Google Open Source Blog" type="rss" version="RSS" htmlUrl="http://opensource.googleblog.com/" xmlUrl="http://feeds.feedburner.com/GoogleOpenSourceBlog" />
<outline text="Google Search Central Blog" title="Google Search Central Blog" type="rss" version="RSS" htmlUrl="https://developers.google.com/search/blog/" xmlUrl="https://feeds.feedburner.com/blogspot/amDG" />
<outline text="Google">
<outline text="Google Developers Blog" title="Google Developers Blog" type="rss" version="RSS" htmlUrl="https://developers.googleblog.com/rss/" xmlUrl="http://feeds.feedburner.com/GDBcode" />
<outline text="Google Maps Platform" title="Google Maps Platform" type="rss" version="RSS" htmlUrl="http://mapsplatform.googleblog.com/" xmlUrl="http://feeds.feedburner.com/GoogleGeoDevelopersBlog" />
<outline text="Google Open Source Blog" title="Google Open Source Blog" type="rss" version="RSS" htmlUrl="http://opensource.googleblog.com/" xmlUrl="http://feeds.feedburner.com/GoogleOpenSourceBlog" />
<outline text="Google Search Central Blog" title="Google Search Central Blog" type="rss" version="RSS" htmlUrl="https://developers.google.com/search/blog/" xmlUrl="https://feeds.feedburner.com/blogspot/amDG" />
</outline>
</outline>
</body>
</opml>
2 changes: 1 addition & 1 deletion public/sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
<?xml-stylesheet type="text/xsl" href="/sitemap.xslt" ?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://opml.xml.style/</loc>
<loc>https://opml-viewer.fileformat.info/</loc>
</url>
</urlset>
2 changes: 1 addition & 1 deletion src/components/Copyright.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default function Copyright() {
{t('contact_link')}
</NextLink>
{' | '}
<NextLink color="inherit" href="https://github.com/fileformat/opml.xml.style">
<NextLink color="inherit" href="https://github.com/FileFormatInfo/opml-viewer">
{t('source_link')}
</NextLink>
</Typography>
Expand Down
2 changes: 1 addition & 1 deletion src/lib/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const isDevMode = process.env.NODE_ENV === 'development';

const DEMO_URL = isDevMode
? "http://localhost:4000/demo.xml"
: "https://opml.xml.style/demo.xml";
: "https://opml-viewer.fileformat.info/demo.xml";

export const constants = {
DEFAULT_HOME: "Home Page",
Expand Down
4 changes: 2 additions & 2 deletions src/lib/loadOutline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ async function loadOutline(url_str: string):Promise<OpmlData> {
try {
xml_resp = await fetch(url, {
headers: {
"User-Agent": `opml.xml.style/1.0 (your outline is being viewed on https://opml.xml.style/ )`,
Referer: `https://opml.xml.style/`,
"User-Agent": `opml-viewer/1.0 (your outline is being viewed on https://opml-viewer.fileformat.info/ )`,
Referer: `https://opml-viewer.fileformat.info/`,
},
});
if (!xml_resp.ok) {
Expand Down

0 comments on commit c44b910

Please sign in to comment.