Image paths incorrect in Articulate-generated RSS feed
Hello,
I have Articulate installed on my Umbraco site. I have created my own custom theme (modified from the prebuilt Shazwazza theme) and I am now trying to implement an RSS subscribe button.
Everything is working except that the RSS feed generated by Articulate is outputting the wrong image src paths.
In all of my posts the image src's are relative (ex: /media/image_name.jpg) and everything renders fine in my views. However, when I view my RSS feed (http://www.mydomain.com/about/blog/rss), all of my images are broken. It looks like Articulate has a controller that generates the RSS feed, which prepends my blog url to all of the relative src attributes to make the paths absolute. However it is not prepending the correct path which results in a broken image.
The root of my blog is located under "about", but of course my media is located at the root of the site. I guess this is where the problem stems from.
Does anyone know how I can fix this? Surely it is a common problem for people who integrate their Articulate blog with an existing site and do not want it at the root...
Hrm, this seems odd as I cannot replicate on my site. That said it does sound like a bug. If you could create an issue on github: https://github.com/shazwazza/articulate/issues with simplest steps to replicate from a new install, i can have a look when I find some time.
Image paths incorrect in Articulate-generated RSS feed
Hello,
I have Articulate installed on my Umbraco site. I have created my own custom theme (modified from the prebuilt Shazwazza theme) and I am now trying to implement an RSS subscribe button.
Everything is working except that the RSS feed generated by Articulate is outputting the wrong image src paths.
In all of my posts the image src's are relative (ex: /media/image_name.jpg) and everything renders fine in my views. However, when I view my RSS feed (http://www.mydomain.com/about/blog/rss), all of my images are broken. It looks like Articulate has a controller that generates the RSS feed, which prepends my blog url to all of the relative src attributes to make the paths absolute. However it is not prepending the correct path which results in a broken image.
What I am seeing in the RSS feed is:
http://www.mydomain.com/about/blog/media/image_name.jpg
However, it should be:
http://www.mydomain.com/media/image_name.jpg
The root of my blog is located under "about", but of course my media is located at the root of the site. I guess this is where the problem stems from.
Does anyone know how I can fix this? Surely it is a common problem for people who integrate their Articulate blog with an existing site and do not want it at the root...
Thanks in advance!
Hrm, this seems odd as I cannot replicate on my site. That said it does sound like a bug. If you could create an issue on github: https://github.com/shazwazza/articulate/issues with simplest steps to replicate from a new install, i can have a look when I find some time.
Hi Shannon, thanks so much for your quick response. I was able to replicate this on a new install so I'll create an issue on GitHub.
btw: I love articulate- it's so easy to use and customize; nice work!
is working on a reply...