Browse Source

Bookmarks: point pull functions at davidwindham.com

Move the three Shaarli fetch helpers (bookmarks/bookmarks_pull/bookmarks_all)
from davidawindham.com/bookmarks to davidwindham.com/bookmarks, following the
domain migration.
windhamdavid 4 days ago
parent
commit
cab3f6f5fa
1 changed files with 3 additions and 3 deletions
  1. 3 3
      inc/utils.php

+ 3 - 3
inc/utils.php

@@ -128,7 +128,7 @@ function pull_til_tags() {
 }
 function bookmarks() {
 	require_once('lib/html_dom.php');
-	$url = 'https://davidawindham.com/bookmarks/';
+	$url = 'https://davidwindham.com/bookmarks/';
 	$html = file_get_html($url);
 	if (!$html) return;
 	$i = 0;
@@ -141,7 +141,7 @@ function bookmarks() {
 }
 function bookmarks_pull($limit = 27) {
 	require_once('lib/html_dom.php');
-	$url = 'https://davidawindham.com/bookmarks/';
+	$url = 'https://davidwindham.com/bookmarks/';
 	$html = file_get_html($url);
 	if (!$html) return;
 	$i = 0;
@@ -154,7 +154,7 @@ function bookmarks_pull($limit = 27) {
 }
 function bookmarks_all() {
 	require_once('lib/html_dom.php');
-	$url = 'https://davidawindham.com/bookmarks/';
+	$url = 'https://davidwindham.com/bookmarks/';
 	$html = file_get_html($url);
 	if (!$html) return;
 	$i = 0;