81 Posts
Hello,

I spend much time on the "new parts" page to track addition to the parts library or to the "featured models" page . I also much use feedly.com for my daily browsing. Would it be possible to provide us with XML feeds to track changes to those pages ?

Thanks !
18 Jul 2016, 10:33
2218 Posts
I'll see what I can do. Do you know the specs for the XML?
19 Jul 2016, 07:36
81 Posts
You can have a look at this :
http://www.w3schools.com/xml/xml_rss.asp

You can easily add pictures in the feed like in this example I set up and tried successfully here : http://www.w3schools.com/xml/tryrss.asp?filename=rss_ex_image :

Code:
<?xml version="1.0" encoding="UTF-8" ?> <rss version="2.0"> <channel> <title>W3Schools Home Page</title> <link>http://www.w3schools.com</link> <description>Free web building tutorials</description> <item> <title>RSS Tutorial</title> <link>http://www.w3schools.com/xml/xml_rss.asp</link> <description> <![CDATA[ <img src='http://www.w3schools.com/images/w3schools_green.jpg' />RSS tutorial on W3Schools ! ]]></description> </item> <item> <title>RSS Tutorial 2</title> <link>http://www.w3schools.com/xml/xml_rss.asp</link> <description> <![CDATA[ <img src='http://www.w3schools.com/images/w3schools_blue.jpg' />RSS tutorial on W3Schools ! ]]></description> </item> </channel> </rss>

If you ever need help for tests or more feel free to ask ! I used to be a web dev for some years so I guess I could be of some help if you ever need some !
19 Jul 2016, 08:00
2218 Posts
Hello,

I finally added this function on Mecabricks. There is now a button on the New Parts page that redirects to this address: http://www.mecabricks.com/parts/rss

Let me know if it is what you wanted.
17 Sep 2016, 00:23
Edited 17 Sep 2016, 00:24
81 Posts
Perfect ! The pictures quality is really stunning, thanks for that ! No more need to spam the f5 button on the "new parts" page now smiling face with open mouth and smiling eyes
17 Sep 2016, 07:19
314 Posts
The new parts RSS feed is a welcome addition, especially because of the higher resolution previews. So far, I oftentimes I had to open the parts in the Workshop or search them on Brickset to see what they look like. Thanks for this.
17 Sep 2016, 09:37
314 Posts
For some reason the content isn't showing up in Chrome RSS reader extensions (I tried "Inoreader" and "RSS Feed Reader).
17 Sep 2016, 09:46
81 Posts
Weird, it is perfect in feedly
17 Sep 2016, 10:39
314 Posts
Yep, Feedly works. Thanks.
17 Sep 2016, 11:19
2218 Posts
Images are the same as for the icons. They are just not scaled down in the feed smiling face with open mouth
I tried Feedly and a couple of others and it was working. Not too sure but I am not a specialist of rss xml and it seems to be a bit messy as a format.
17 Sep 2016, 11:34
76 Posts
It doesn't work for me with the built-in Firefox RSS feed reader (also called "Live Bookmarks"). When I click on the RSS feed link, Firefox just shows an empty list, then when I actually subscribe to it and view it there, it says that the Live Bookmark failed to load. I don't know too much about the RSS format, but I put it into the Feed Validator and got these results:

https://validator.w3.org/feed/check.cgi?url=http%3A%2F%2Fmecabricks.com%2Fparts%2Frss
17 Sep 2016, 13:13
489 Posts
Not sure what's going to fix it, but what the validator says might be the issue:
- Feeds should not be served with the "text/html" media type
This is regarding the mime type returned with the http request.

- <sy:updatePeriod> unknown
This is caused by <rss version="2.0" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"> missing in the first few lines.


EDIT: Found the issue: The namespaces used (sy & dc) should be imported - or removed in the rss completely:
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/">
17 Sep 2016, 14:16
Edited 17 Sep 2016, 14:42
2218 Posts
Thanks for pointing that out. I corrected it as well as all the recommendations from RSS validator... It was a bit painful but it is done.
18 Sep 2016, 00:42
314 Posts
It's now working in other RSS readers.
18 Sep 2016, 01:56
76 Posts
Yes, it is now working in Firefox for me too. Thanks!
19 Sep 2016, 13:06
59 Posts
I must say that this feature is top notch! First time using RSS feed and liking it very much. smiling face with open mouth and smiling eyes No longer having to open the PARTS section to check for additions.
Just one small note, the linked page is the french version. Not a big problem as I can read French fairly well but I still prefer the page in English. Is it a setting one can change?
8 Feb 2017, 11:08
2218 Posts
Hello,
Where did you find the link that brought you to the french version? I did not manage to find it yet winking face
8 Feb 2017, 19:35
59 Posts
Not sure if you're being sarcastic or not. The wink emoticon confuses me... disappointed face

Anyway, the link from the post above (and the RSS button in parts section) redirects to http://www.mecabricks.com/parts/rss which has a lot of links with www.mecabricks.com/fr/(...)
8 Feb 2017, 22:50
2218 Posts
No actually I wasn't. I did not understand that it was the links inside the rss. I thought it was a link to the rss content with french names.
Actually, it is not supposed to be! I will check the code tonight to correct that. Thank you for spotting it.
8 Feb 2017, 22:55
2218 Posts
Fixed.
9 Feb 2017, 05:07
Page 1 of 2