added support for enclosure

Author: Victor Jonsson <kontakt@victorjonsson.se>
This commit is contained in:
Dylan Greene
2013-06-30 15:45:10 -04:00
parent 52011922b6
commit 5dbeaf12c9
5 changed files with 80 additions and 4 deletions

View File

@@ -35,6 +35,7 @@
guid: '1123', // optional - defaults to url
author: 'Guest Author', // optional - defaults to feed author property
date: 'May 27, 2012' // any format that js Date can parse.
enclosure : {url:'...', file:'path-to-file'} // optional
});
// cache the xml
@@ -97,7 +98,7 @@ especially when tests are included.
(The MIT License)
Copyright (c) 2011 Dylan Greene <dylang@gmail.com>
Copyright (c) 2011-2013 Dylan Greene <dylang@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the