I was going to use NewsFeed snippet.
But, it is not cool that extension of a XML file takes "html"
when I turned on ’friendly_alias_urls’.
Therefore, I suggest assigning the separate extensions for each content-type.
Like AddType of Apache.
example:
application/xhtml+xml <- xhtm
text/html <- html
text/css <- css
application/rdf+xml <- rdf
This really is a good idea. What do you guys think? I would vote for this feature to be added in the future release.
Funny, I was thinking about this ! I second that
I think it would just require tweaking the rewrite rules. I am no expert but I don’t think it would require major work here.
.: COO - Commerce Guys - Community Driven Innovation :.
MODx est l'outil id
I second this, there is possibly a solution on the following thread, although I haven’t tried the last option as I must have missed that post, but the previous ones weren’t successful.
http://modxcms.com/forums/index.php/topic,1997.msg13964.html#msg13964
-
MODX Staff
- 12,272 Posts
I totally agree. And I think an extension to this would be to add the file extension as part of the definition of the types in the manager. It’d be cool also to linke the mime-type + disposition + extension and have them all be defined/accessed from a single location.
Anyone want to track that referencing the relevant threads?
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
-
MODX Staff
- 10,725 Posts
Shouldn’t disposition still be separate? I mean, you could have a need for inline and attachment content from the same file type, right?
Jup would be nice now my css has a html extention works fine but looks weard