da214d8e51 
								
							
								 
							
						 
						
							
							
								
								add an interface to Feed, stub some additional feed types  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ad25133c69 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #14  from bfontaine/multiple-enclosures  
							
							Multiple enclosures in one item 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								95f27cf429 
								
							
								 
							
						 
						
							
							
								
								Warning about usage of 2+ enclosures per item  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4ce86fb958 
								
							
								 
							
						 
						
							
							
								
								Item#addEnclosure allow multiple elements.  
							
							This is better, since 'addEnclosure' means 'add one *more* enclosure'. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3bed40d55d 
								
							
								 
							
						 
						
							
							
								
								Item#addEnclosure method added, to add multiple enclosures for the same item.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								390a4138bd 
								
							
								 
							
						 
						
							
							
								
								Renamed project name due to naming conventions of Packagist.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								91954675a6 
								
							
								 
							
						 
						
							
							
								
								Added authors to composer.josn.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								30aa109e9a 
								
							
								 
							
						 
						
							
							
								
								Trap unparseable date strings.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2498670c5b 
								
							
								 
							
						 
						
							
							
								
								Tabified spaces  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2d854932d8 
								
							
								 
							
						 
						
							
							
								
								Whitespace  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								198dda3b3b 
								
							
								 
							
						 
						
							
							
								
								Reformatted composer.json  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								431042e533 
								
							
								 
							
						 
						
							
							
								
								Whitespace  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b86584270e 
								
							
								 
							
						 
						
							
							
								
								Add return $this to allow chaining  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a732dda845 
								
							
								 
							
						 
						
							
							
								
								Whitespace  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								59d3603b47 
								
							
								 
							
						 
						
							
							
								
								Added composer.json  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d2003c6137 
								
							
								 
							
						 
						
							
							
								
								Added support for attaching media to ATOM feed items.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2ca6219f8f 
								
							
								 
							
						 
						
							
							
								
								Bugfix: Filter atom namespace prefixes also in feed items.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4ba5dd9820 
								
							
								 
							
						 
						
							
							
								
								Added much more comments to the RSS2 example and used some more method the FeedWriter offers.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3769d1e75d 
								
							
								 
							
						 
						
							
							
								
								setDate method supports RSS2 feeds now. New method addGenerator for some advertising.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e31dbf27df 
								
							
								 
							
						 
						
							
							
								
								Some improvements in wrapper functions (including documentation):  
							
							* setEnclosure: Expects an integer for length parameter greather than zero.
* setAuthor: email parameter is also used in RSS2 feeds.
* setId: The isPermaLink attribute can be set (RSS2 only). 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0aba88e3d7 
								
							
								 
							
						 
						
							
							
								
								Updated README to new GitHub Pages domain.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fecb20f288 
								
							
								 
							
						 
						
							
							
								
								Some updates to the setDate method, both to code and documentation.  
							
							Since this project requires PHP >= 5.3 anyway, the check for this version is not needed anymore in Item.php. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c7f0ba2096 
								
							
								 
							
						 
						
							
							
								
								Added documentation section  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cb8e25269f 
								
							
								 
							
						 
						
							
							
								
								Some documentation fixes and additions for phpdoc  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								33737982af 
								
							
								 
							
						 
						
							
							
								
								Added support for sub-elements of the author element in ATOM feeds.  
							
							It's now possible to specify an email address and an URI. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cc62d12c2e 
								
							
								 
							
						 
						
							
							
								
								Built-in support for author elements in RSS2 feeds.  
							
							This was previously already possible by using the custom addElement function. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								aba31248df 
								
							
								 
							
						 
						
							
							
								
								Die when setEncloser is used on a non-RSS 2 feed.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0f4c077d5f 
								
							
								 
							
						 
						
							
							
								
								Do allow the content element in ATOM feeds only.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f0bcb31422 
								
							
								 
							
						 
						
							
							
								
								Added a check for a restriction in the ATOM specification regarding the number of atom:link entites.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c79ef09e08 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #11  from sparkfun/master  
							
							Add setContent() for Atom feed items 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2c73dabb3c 
								
							
								 
							
						 
						
							
							
								
								Updated README  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ee8d341505 
								
							
								 
							
						 
						
							
							
								
								Implemented function to add multiple custom link elements. This  fixes   #10 .  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								384783b5f5 
								
							
								 
							
						 
						
							
							
								
								add Item&setContent() for Atom feeds  
							
							- Make it easy to get a <content> element on Atom entries
- Also spells "enclosure" correctly - "setEncloser" -> "setEnclosure"
- Fixes Atom test file on case-sensitive filesystems
- Tack a date_default_timezone_set() on tests, to avoid warnings 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d67feb4b66 
								
							
								 
							
						 
						
							
							
								
								Updated README.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								81e7520894 
								
							
								 
							
						 
						
							
							
								
								Implemented function to add custom XML namespaces. This  fixes   #9 .  
							
							The namespace prefix and name can be set by invoking the addNamespace method of the Feed class. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								762764ad77 
								
							
								 
							
						 
						
							
							
								
								Fixed warning on minimum RSS2 example: Image title didn't match channel title.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4f172e9ff8 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'examples'  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								763f33f5a9 
								
							
								 
							
						 
						
							
							
								
								Fixed warning on RSS2 example: Image title didn't match channel title.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1581c88968 
								
							
								 
							
						 
						
							
							
								
								More comments  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								46df278a65 
								
							
								 
							
						 
						
							
							
								
								Added support for atom:link elements with relation=self.  Fixes   #5  
							
							See http://validator.w3.org/feed/docs/warning/MissingAtomSelfLink.html  
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6c1935f05f 
								
							
								 
							
						 
						
							
							
								
								Renamed the getContentType() method.  
							
							It's actually the MIME type which is returned and then used for the HTTP Content-Type header field. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1b1a3d0334 
								
							
								 
							
						 
						
							
							
								
								Fixed attribute string: Removed double whitespace between the key-value pairs.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ae59019c9f 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' into examples  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bf09994e24 
								
							
								 
							
						 
						
							
							
								
								Use printFeed() instead of generateFeed()  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								631cce83eb 
								
							
								 
							
						 
						
							
							
								
								Examples with including files  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								240b9c8c04 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #7  from sparkfun/master  
							
							namespace FeedWriter 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7182691709 
								
							
								 
							
						 
						
							
							
								
								break out feed types; add printFeed(); namespace everything  
							
							A minimal set of changes to support PSR-0-style autoloading:
- rename base class to \FeedWriter\Feed and FeedItem to \FeedWriter\Item
- break types out into \FeedWriter\ATOM, \FeedWriter\RSS1, and
  \FeedWriter\RSS2
- use class constants for versions
- make generateFeed() return a string rather than doing any IO itself
- add printFeed() to do output, if needed
My rationale for the last 2 items on that list is that our web framework
expects me to pass around strings, not do direct IO. I imagine needing
to grab the output and stash it in a variable or what-have-you is
a common use case, and it felt silly to have to wrap this in an
output buffer to accomplish that. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6b692f5ab2 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #4  from paulferrett/master  
							
							ATOM feed <author> element fix
Thanks for the fix! 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								429d961e59 
								
							
								 
							
						 
						
							
							
								
								Fix for incorrectly created `author` element for ATOM feed items.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1a31258e9a 
								
							
								 
							
						 
						
							
							
								
								Comments and updated README  
							
							
								
							
							
						 
						13 years ago