Replies: 10 comments 6 replies
-
Sorry about that. I should have formatted the HTML example image path. Here it is:
|
Beta Was this translation helpful? Give feedback.
-
FWIW, my blog is built on a Mac (macOS 12.4). My stuff is at https://github.com/bryanhanson/CSR if anyone needs to inspect. Could this be a Windows issue? |
Beta Was this translation helpful? Give feedback.
-
Welp that isn’t right! I’ll take a look! |
Beta Was this translation helpful? Give feedback.
-
I just cloned your repo and took a quick look. Everything looked good to me when I rendered with the latest version of Quarto. I wonder if perhaps it a bug in an earlier version of Quarto which has been fixed. Would you mind confirming the version you're on and if necessary, trying the latest version? (I did make a small fix to address duplicate slashes in paths inside of feeds, but that shouldn't have deal with incorrect slashes, just duplicates). (I actually just found your blog online - looks like you're building with the dev version of Quarto (cool!) so just pulling the latest from main should ideally get you working if my theory is correct). Let me know what you find and if that doesn't resolve it I'll keep digging! |
Beta Was this translation helpful? Give feedback.
-
I found another instance of the same issue. If you scroll down to the bottom of a post, the Citation block has the same problem. |
Beta Was this translation helpful? Give feedback.
-
Following the create a blog instructions I created a new repo quarto-forwardslash-reprex. I made as few changes as possible to the default blog structure:
Rendering the site then looking at the XML file, the forward slashes persist in the image link and the citation link.
I hope this will help track down the problem. |
Beta Was this translation helpful? Give feedback.
-
Ok, I found the issue in the way we're forming absolute urls (joining the site url to path to the image) and it should be fixed as of v0.9 build 441. Thank you for helping me reproduce the issue so I could track it down! |
Beta Was this translation helpful? Give feedback.
-
Fantastic!! Thanks.
…Sent from my iPhone
On May 22, 2022, at 8:45 PM, Charles Teague ***@***.***> wrote:
Ok, I found the issue in the way we're forming absolute urls (joining the site url to path to the image) and it should be fixed as of v0.9 build 441. Thank you for helping me reproduce the issue so I could track it down!
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.
|
Beta Was this translation helpful? Give feedback.
-
We've definitely made progress. The image URLs all have backslashes now as expected and the index.xml file now passes muster on the SimplePie RSS feed check. Great! However, the link in the citation at the bottom of the post has forward slashes. Here's the example citation from https://github.com/graphdr/quarto-forwardslash-reprex
|
Beta Was this translation helpful? Give feedback.
-
Sure, will try that tomorrow.
…Sent from my iPhone
On May 21, 2022, at 9:03 PM, Charles Teague ***@***.***> wrote:
Ok let me try again. Any chance you can share a sample qmd that exhibits the problem? Citation block I’ll likely show me the issue if you have a simple page with that…
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm porting my blog from distill to quarto and publishing it using GitHub pages. Very happy with the process overall!
The odd thing is that the index.xml for the RSS feed has image paths with backslashes instead of forward slashes that cause the images to be broken when viewed via an RSS checker. An example of a path from my XML file is:
When I manually edit the backslashes in the index.xml file, converting them to forward slashes, the image correctly appears in the SimplePie feed checker. Otherwise, the images are broken.
I compared my _quarto.yml, _metadata.yml, and index.qmd files to those of Bryan Hanson's blog (also using quarto via GitHub) and couldn't find any obvious difference, yet when I run his XML file through SimplePie, his images are fine.
Any guidance you can provide would be most appreciated!
Beta Was this translation helpful? Give feedback.
All reactions