Modifying Feed and Entry structuresZend_Feed's natural syntax extends to constructing and modifying feeds and entries as well as reading them. You can easily turn your new or modified objects back into well-formed XML for saving to a file or sending to a server. Example #1 Modifying an Existing Feed Entry
This will output a full (includes
Note that the above will work even if the existing entry does not already have an author
tag. You can use as many levels of
If you want to use a namespace other than Example #2 Creating an Atom Entry with Elements of Custom Namespaces
|
|