MVLog removed
This commit is contained in:
parent
7b5db39b37
commit
040a22855e
4 changed files with 6 additions and 6 deletions
|
|
@ -772,7 +772,7 @@ entries = []
|
||||||
for dirpath, dirnames, filenames in os.walk(root):
|
for dirpath, dirnames, filenames in os.walk(root):
|
||||||
dirnames[:] = [d for d in dirnames if d != '.movmaker-lock']
|
dirnames[:] = [d for d in dirnames if d != '.movmaker-lock']
|
||||||
for name in filenames:
|
for name in filenames:
|
||||||
if name in {'.movmaker-state.json', '.movmaker-enabled', '.movmaker-preview', '.mvlog-hidden', '.mvlog-permalink', '.mvlog-id', '.mvlog-hide-map'}:
|
if name in {'.movmaker-state.json', '.movmaker-enabled', '.movmaker-preview', '.mvlog-hidden', '.mvlog-permalink', '.mvlog-id', '.mvlog-hide-map', '.mvlog-describe-prompt.txt', '.mvlog-last-openrouter-response.json', '.mvlog-last-openrouter-text.txt'}:
|
||||||
continue
|
continue
|
||||||
path = os.path.join(dirpath, name)
|
path = os.path.join(dirpath, name)
|
||||||
rel = os.path.relpath(path, root)
|
rel = os.path.relpath(path, root)
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
|
||||||
} elseif (!filter_var($form_email, FILTER_VALIDATE_EMAIL)) {
|
} elseif (!filter_var($form_email, FILTER_VALIDATE_EMAIL)) {
|
||||||
$err = "Please provide a valid email address.";
|
$err = "Please provide a valid email address.";
|
||||||
} else {
|
} else {
|
||||||
$subject = "MVLog Contact Form Submission from " . $form_name;
|
$subject = "MVLog Contact Submission from " . $form_name;
|
||||||
$body = "Name: " . $form_name . "\n";
|
$body = "Name: " . $form_name . "\n";
|
||||||
$body .= "Email: " . $form_email . "\n\n";
|
$body .= "Email: " . $form_email . "\n\n";
|
||||||
$body .= "Message:\n" . str_replace(["\r\n", "\r"], "\n", $form_message);
|
$body .= "Message:\n" . str_replace(["\r\n", "\r"], "\n", $form_message);
|
||||||
|
|
|
||||||
|
|
@ -402,7 +402,7 @@ $activeFilterCount = ($keywordValue !== '') ? 1 : 0;
|
||||||
$baseParams = ($rawKeyword !== '') ? ['q' => $rawKeyword] : [];
|
$baseParams = ($rawKeyword !== '') ? ['q' => $rawKeyword] : [];
|
||||||
$defaultOgImageUrl = 'https://bubulescu.org/assets/img/bubulescuorg.jpg';
|
$defaultOgImageUrl = 'https://bubulescu.org/assets/img/bubulescuorg.jpg';
|
||||||
$ogImageUrl = $defaultOgImageUrl;
|
$ogImageUrl = $defaultOgImageUrl;
|
||||||
$ogImageAlt = 'MVLog: journal of an unreliable narrator.';
|
$ogImageAlt = 'journal of an unreliable narrator.';
|
||||||
$ogType = ($articleId !== '') ? 'article' : 'website';
|
$ogType = ($articleId !== '') ? 'article' : 'website';
|
||||||
$ogUrl = ($articleId !== '') ? ('https://bubulescu.org/?id=' . rawurlencode($articleId)) : 'https://bubulescu.org/';
|
$ogUrl = ($articleId !== '') ? ('https://bubulescu.org/?id=' . rawurlencode($articleId)) : 'https://bubulescu.org/';
|
||||||
$pageTitle = 'MVLog';
|
$pageTitle = 'MVLog';
|
||||||
|
|
@ -416,8 +416,8 @@ if ($articleId !== '') {
|
||||||
$firstMeta = $videoCache[$firstVideo]['metadata'] ?? video_metadata($slice[0]);
|
$firstMeta = $videoCache[$firstVideo]['metadata'] ?? video_metadata($slice[0]);
|
||||||
$firstTitle = trim((string)($firstMeta['title'] ?? ''));
|
$firstTitle = trim((string)($firstMeta['title'] ?? ''));
|
||||||
if ($firstTitle !== '') {
|
if ($firstTitle !== '') {
|
||||||
$ogImageAlt = 'MVLog: ' . $firstTitle;
|
$ogImageAlt = $firstTitle;
|
||||||
$pageTitle = 'MVLog: ' . $firstTitle;
|
$pageTitle = $firstTitle;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"name": "MVLog: journal of an unreliable narrator.",
|
"name": "journal of an unreliable narrator.",
|
||||||
"short_name": "MVLog",
|
"short_name": "MVLog",
|
||||||
"description": "Motorcycle road stories, hockey passion, pizza nerdism and facts remembered by an unreliable narrator.",
|
"description": "Motorcycle road stories, hockey passion, pizza nerdism and facts remembered by an unreliable narrator.",
|
||||||
"id": "/",
|
"id": "/",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue