Using Feedcreator to generate ATOM 1.0 feeds
|
|
I’m going give out a tip on using feedcreator class library to ease up generating syndication feeds for your web project. As you might know, there are different kind of syndication format out there such as RSS 2.0, RSS 1.0, RSS0.91, ATOM0.3 and ATOM1.0. Each of the syndication format has its own markup (though RSS 0.91 and 2.0 are closely related), making generating feeds from scratch can be quite a chore for your project.
Feedcreator provides an easy way to create RSS and ATOM feeds from within PHP using ease to use classes. However, feedcreator has a couple of drawback :
- It does not support ATOM 1.0
- Doesn’t support Enclosure
- Can’t generate feeds on the fly
Though these drawbacks might not be as serious as I put in here, it is nice to have this features implemented on feedcreator. ATOM 1.0 is a new syndication format issued by IETF as a standard way to produce feeds, ATOM 1.0 has a nice features and more structured layout than the ever-inconsistent RSS feeds.
Though Enclosure tag is optional in RSS 2.0, the tag is significant for those who are into podcasting or photoblogging. Enclosure feature allows for the syndicated feed to not just serve text content, but also to package an enclosure (call it an attachment of some sort), as well. IIn the podcasting model, the RSS enclosure contains an audio file, which subscribers can listen to on their devices.
Generating feeds on the fly is one of the most requested feature of feedcreator. This allows feeds to be generated dynamically upon request as opposed to generating feed on certain event (such as posting new articles). Mambo and PhpGedView project uses modified Feedcreator to generate feeds on-the-fly.
I’ve published a modified version of Feedcreator (namely Feedcreator 1.7.2-ppt) that contains all of these enhancements (or hacks). Here’s a snippets on how to use the additional features :
/*
This demo is to illustrate how to use feedcreator
using outputFeed function, ATOM1.0 and enclosure
support.
Enclosure support is useful if you are into
podcasting or publishing photoblog.
the required parameter for enclosure is url, length
and type (as in MIME-type)
*/
< ? php
include ("include/feedcreator.class.php");
//define channel
$rss = new UniversalFeedCreator();
$rss->useCached();
$rss->title="Personal News Site";
$rss->description="daily news from me";
$rss->link="http://mydomain.net/";
$rss->syndicationURL="http://mydomain.net/$PHP_SELF";
//channel items/entries
$item = new FeedItem();
$item->title = "test berita pertama";
$item->link = "http://mydomain.net/news/somelinks.html";
$item->description = "hahaha aku berjaya!";
$item->source = "http://mydomain.net";
$item->author = "[email protected]";
//optional enclosure support
$item->enclosure = new EnclosureItem();
$item->enclosure->url='http://mydomain.net/news/picture.jpg';
$item->enclosure->length="65905";
$item->enclosure->type='image/jpeg';
$rss->addItem($item);
//Valid parameters are RSS0.91, RSS1.0, RSS2.0, PIE0.1 (deprecated),
// MBOX, OPML, ATOM, ATOM1.0, ATOM0.3, HTML, JS
$rss->outputFeed("ATOM1.0");
//$rss->saveFeed("ATOM1.0", "news/feed.xml");
?>
You can download the modified version of Feedcreator 1.7.2 from my server, the zip package contains the modified class library, GNU/LGPL license, some demo php file and a diff file against the plain vanilla Feedcreator 1.7.2 for curious people.
p/s : all of the modifications are written by me except outputFeed function which is written by Fabian Wolf.
Download :
Feedcreator 1.7.2-ppt (zip)
Feedcreator website : http://www.bitfolge.de/rsscreator-en.html
Keep updated with the latest posts, be a part of over 1,000 subscribers! :
Subscribe to your email
You might also want to read...
- Planned Improvements on PHP FeedCreator-ppt (1.8.0)
- Blogs news feeds that I subscribed
- WordPress 2.2 is going to be released, pretty soon!
- Comparing Atom 1.0 and RSS 2.0
- Liferea – My Favorite Linux Feed Reader in Ubuntu
- Microsoft release specs for Simple Sharing Extensions (SSE)
- Introducing Ubuntu solar system Yahoo Pipes!


March 31st, 2006 at 2:01 am
official SiteAMonth site is done and launched. Although April will be spent promoting it, I?ll take this post to summerize the site development process. Languages: PHP, Javascript Database: MySQL Open Source Software Used: moo.fx, modifiedFeedCreator class Technologies: AJAX, RSS, Amazon?s Web Services My first time working with: Ajax, RSS, Amazon?s Web Services, Javascript effects, Apache?s Mod Rewrite
May 18th, 2006 at 10:01 pm
Using Feedcreator to generate ATOM 1.0 feeds ? (mypapit)
May 26th, 2006 at 2:29 pm
I may give these a spin. tecosystems: Next Denver Tech Meetup – I’ll be there. Om Malik on Broadband – Bush: lets tax WiFi GrApple – Aronnax`s Firefox Themes – new home for great Mac Firefox themes.mypapit – Using Feedcreator to generate ATOM 1.0 feeds – I love it when someone does your work for you. Treonauts | Dedicated to your Treo 700 & 650. The Perfect All-In-One Communications, Information & Entertainment Tool.: Treo 700p: First Pictures! – woot!
February 12th, 2006 at 5:13 pm
I may give these a spin. tecosystems: Next Denver Tech Meetup – I’ll be there. Om Malik on Broadband – Bush: lets tax WiFi GrApple – Aronnax`s Firefox Themes – new home for great Mac Firefox themes.mypapit – Using Feedcreator to generate ATOM 1.0 feeds – I love it when someone does your work for you. Treonauts | Dedicated to your Treo 700 & 650. The Perfect All-In-One Communications, Information & Entertainment Tool.: Treo 700p: First Pictures! – woot!
November 26th, 2005 at 3:29 am
apa la, baru tambah sikit line dalam code dah sibuk nak mengaku code tu kau punya… nak tumpang glemer le lu ni. apa la lu. habis semua output dok keluar nama kau… apa la lu… tak bagi credit langsung…
November 26th, 2005 at 2:29 pm
Ya Allah, kenapa buat tuduhan melulu ni?
“baru tambah sikit line dalam code dah sibuk nak mengaku code tu kau punya”
Encik, saya tak mengaku pun yang saya yang buat semua, hanya kepada patch itu sahaja.
Saya dah bagi pointer kat mana nak dpt original work, patch pun saya dah berikan sekiranya Encik nak convert balik hasil kerja saya kepada original work tu. Saya pun dah dapat kebenaran serta dah berikan kredit kepada Fabian Wolf.
habis semua output dok keluar nama kau
Encik, dimanakah output yang keluarnya nama saya?
apa la lu? tak bagi credit langsung?
“Credit is given where credit is due”
Kredit sudah diberikan. Cumanya,
1) Adakah anda tahu membaca artikel ni ?
2) Adakah anda tahu procedure submit patch dengan tulis ChangeLog dalam source code?
“p/s : all of the modifications are written by me except outputFeed function which is written by Fabian Wolf.”
Semua perkara ni tercatat dlm artikel tentang tempat utk mendapatkan original source code, dengan kredit. Maklumat lanjut boleh di dapati dalam ChangeLog source code dengan dalam README file. file README tu pun specify kat mana nak dapatkan original source code, berserta dengan license GNU/LGPL. Semuanya di publish mengikut procedure yang ditetapkan oleh creator original Feedcreator.
Di harap anda akan buat research sebelum membuat tuduhan melulu ini. :D
p/s: Dalam sembahyang zohor, asar, maghrib, isyak hari ni, aku berdoa supaya Allah jauhkan orang-orang yang berhati busuk dari aku ini. Ya Allah, aku buat ni sebab aku nak berkongsi pengetahuan aku kepada semua, bukan untuk berlagak sombong dan “mencuri” harta orang lain seperti yang difitnahkan oleh orang kepada aku hari ini.
November 26th, 2005 at 6:06 pm
papit, looks like your website is targetted by stupid troll and uneducated malaysian, rotfl.
November 26th, 2005 at 7:20 pm
after generate, feed only show title and it’s have link to source. the title is link. why can’t generate description, entry, date etc? why enclosure aka attachment not working?
November 26th, 2005 at 7:21 pm
can you show example, demo etc where to put the line that your show in this post.
November 26th, 2005 at 9:02 pm
can you show example, demo etc where to put the line that your show in this post.
Sure akon-lonely. The zip file contains “demo.php” file, with an “include” directory. The line shown in this blog is the one that contains in the demo.php
The “demo.php” file should work right away provided that you’ve put it into a webserver that have php support. The script should generate a (or almost) valid ATOM 1.0 feeds, you may test its validity in http://feedvalidator.org.
Need I remind you that, Feedcreator doesn’t generate your feeds automatically, it merely help you to construct a different syndication format from the data you supplied.
Usually you will have to create a loop which retrieve data from a database (eg mysql, postgresql), to generate a feed from Feedcreator.
The file “official_demo.php” in the zip package illustrate this better, it shows you how to create a loop and retrieve data from mysql database.
FYI, this is the same demo file which is featured in the Feedcreator official website : http://www.bitfolge.de/rsscreator-en.html
Hope that helps for now… :D
November 27th, 2005 at 10:55 pm
sory mr papit. actually, i is same guy that post to this entry with nick ‘aku’. sory for my post. actually i very tension when i try this script, it’s can’t work correctly. when i see feed source, i see your name (the version) as a output.
sory for that & thank coz reply my 2nd question.
November 28th, 2005 at 1:26 am
Well, just to be clear, there’s none of my name in the output, I only wrote my name in source code as part of the ChangeLog, that is only because I’m fulfilling the ChangeLog procedure and obeying the GNU/LPGL license obligation.
Maybe you mean the version prefix. For your information, it’s customary for people to postfixed the patch version of the original software with 3 characters, symbolizing that it is not the original work.
This has been explained deeply in the GNU/GPL, GNU/LGPL or the BSD license that the modified version of the software must be plainly marked as not being the original software. The “plainly marked” clause has been fulfilled in the documentations as well as in the feed output.
You can verify this on other “patched” version of Feedcreator created by other author, some are postfixed with -mod (Fabian Wolf), some with -out (Otto Reilch) or (perhaps) -ac2, i choose to marked my patched version with -ppt.
Linux kernel development is one of the projects that practised this type of version numbering. Just go to http://kernel.org, and you will see a series of patched version of linux kernel with the 3 character postfix, to mark that the patched (modified) version of the kernel is not the same as the released kernel. The most famous patched kernel is the Alan Cox series which is postfixed with -acX, where X is his own patch number.
So when you go there (http://kernel.org) you will see a release kernel version first, release candidate, and patched version like 2.6.11-ac7 and 2.6.15-rc2-mm1, postfixed by their patch author.
November 30th, 2005 at 11:44 am
I am the one who is guilty of hacking the original script for use in PhpGedView. I am not a PHP developer, but somehow managed to get it working. Do you plan on keeping your script up to date and maintaining it? The regular Feedcreator seems to be abandoned, and I would be thrilled to actually switch to a maintainable version (time permitting sometime within the next few months). Enclosures are of possible interest so that I can include the random media block, but I doubt that I will actually bother. Did you notice that the char encoding used in the class seems to be flakey? Some use hardcoded UTF-8, one place uses ISO-8859-1 (this is the default) and one uses ISO-8859-15. I think that they should all be dynamic and should default to UTF-8 (that is certainly needed for PhpGedView). I am curious if you found anything of use in the changes that were made in the PhpGedView version.
December 1st, 2005 at 7:47 pm
Yes I notice that too, and the problem was addressed to the original author of Feedcreator, but i’ve yet to received any response.
“Do you plan on keeping your script up to date and maintaining it? The regular Feedcreator seems to be abandoned”
Well, i dont think i’m a qualified person to maintain Feedcreator. But i do use feedcreator in my personal project, and yes I would keep it up to date.
December 7th, 2005 at 3:29 am
Have you seen http://rakaz.nl/item/moving_from_atom_03_to_10 ? Are all changes implemented in your release?
December 8th, 2005 at 1:20 pm
PhpGedView has been updated to use your updated feedcreator. Thanks a lot.
There are a few issues that I will post in the next few days, but they are minor ones.
December 8th, 2005 at 9:23 pm
“Have you seen http://rakaz.nl/item/moving_from_atom_03_to_10 ? Are all changes implemented in your release?”
Yes, I’ve seen the article, I’ve implemented all the necessary changes to adapt Atom 0.3 to Atom 1.0. I’ve taken steps to make it as painless as possible to convert to Atom 1.0.
But as feedcreator doesnt validate feeds it generated on its own, then I suggest that users should validate it http://feedvalidator.org first.
:)
I would love to hear from you, again
December 9th, 2005 at 12:20 pm
Here is the feedback. Much of it is not specific to ATOM 1.0, but since you are the new maintainer, here goes:
Our script gives the user the option to change RSS types so this was easy to test :). We use html within the feed and that explains some of the problems.
Note you can test this live by going to http://phpgedview.net/registry.php and when at a site (try to stick to the 4.0 CVS version sites, though im not sure how many already have the ATOM1.0 changes yet)
go to the url /rss.php?rssStyle=ATOM0.3
or change the rssStyle to any flavor supported.
Almost al are validation issues. Some errors and some warnings. Some will probably be trivial to fix. Thanks in advance.
a) if I ommit the line
$rss->cssStyleSheet=”";
I get php errors. This should not be needed.
b) When validating RSS2.0 I get the following errors:
1) Thu, 08 Dec 2005 19:53:27
– lastBuildDate must be an RFC-822 date-time
2) Your feed appears to be encoded as “utf-8″, but your server is reporting “US-ASCII”
3) Fri, 09 Dec 2005 03:53:26
– pubDate must be an RFC-822 date-time
b) When validating RSS 1.0
1) Your feed appears to be encoded as “utf-8″, but your server is reporting “US-ASCII”
c) When validating ATOM 1.0
1) summary should not contain HTML unless declared in the type attribute
— this is even though I set $rss->descriptionHtmlSyndicated = true;
d) validating ATOM 0.3 same warning about HTML as 0.3
e) validating RSS0.91
same 3 warnings as RSS2.0
f) OPML validation
1) An element whose type is “rss” must have an “xmlUrl” attribute. (see http://feedvalidator.org/docs/warning/MissingXmlURL.html )
2) Missing opml attribute: version
December 9th, 2005 at 12:32 pm
d) should read same warnings about HTML as ATOM 1.0
to see our version in CVS check out http://cvs.sourceforge.net/viewcvs.py/phpgedview/phpGedView/includes/feedcreator.class.php?view=log&rev=1.1.2.5&sortby=date&only_with_tag=future
Also see http://cvs.sourceforge.net/viewcvs.py/phpgedview/phpGedView/rss.php?view=log&rev=1.11.2.15&sortby=date&only_with_tag=future
to see how we generate our script using feedcreator.
I think that the changelog should be moved out of the main file to its own changelog.txt file. I also think that there is too much sample code in the main class that should be removed since they are in the demo files (I removed some from our version).
December 9th, 2005 at 10:59 pm
thanks KosherJava, i shall download PhpGedView CVS myself, and track down the bug. :D
December 9th, 2005 at 11:41 pm
looking forward to your findings. I case you are not interested in actually building a family tree :( you can simply search the web for samples or just grab the http://www3.dcs.hull.ac.uk/genealogy/presidents.ged
December 10th, 2005 at 12:01 am
make sure that you use the future branch in CVS. The main branch has the 3.3.x code, while future has the 4.0 code. There has not yet been a beta release that includes the feedcreator changes that use your code.
December 19th, 2005 at 10:03 am
Any luck with this?
December 22nd, 2005 at 3:19 am
have http://code.blitzaffe.com/pages/phpclasses/category/55/fileid/28
December 22nd, 2005 at 2:01 pm
cool, feedcreator that tuned specially for podcasts
December 27th, 2005 at 4:02 am
[...] updated to feedcreator 1.7.2-ppt ( http://blog.mypapit.net/2005/11/using-feedcreator-to-generate-atom-10-feeds.html ) [ 1370286 ] Add ATOM 1.0 Support to RSS Feeds Revision 1.1.2.4 – (view) (download) (annotate) – [select for diffs] Thu Dec 8 04:00:53 2005 UTC (2 weeks, 4 days ago) by kosherjava Branch: future Changes since 1.1.2.3: +23 -3 lines Diff to previous 1.1.2.3 , to branch point 1.1 [...]
December 27th, 2005 at 4:14 am
Hi,
we are testing an integration of FeedCreator with Wikka Wiki, a PHP/MySQL wiki engine (http://wikka.jsnx.com/RSSHandler). I’ve made some first tests using the original version of the class. I bumped into your blogpost later and I’ll take a look asap at your enhanced version of the code, which looks very promising (Atom 1.0 is really a must!). This said I don’t quite understand when you say FeedCreator “can?t generate feeds on the fly”. I’ve used one of the native methods of the original FeedCreator, createFeed(), and I can easily generate feeds on the fly. Am I missing something?
December 27th, 2005 at 5:20 am
Some further notes:
- I confirm the OPML validation error reported by KosherJava.
- Furthermore, I have an issue with authorEmail. The feed validator seems to assume they are required for both RSS2.0 and Atom0.3, while FeedCreator doesn’t. This results in invalid RSS2.0 and Atom feeds.
December 27th, 2005 at 4:54 pm
PIE1.0 also fails the validation check. You may want to take a look at our implementation and tests here:
http://wikka.jsnx.com/RSSHandler
December 27th, 2005 at 5:00 pm
Sorry, I obviously meant PIE0.1 ;)
December 27th, 2005 at 6:59 pm
Apologies for this comment bombing :)
I’ve checked the specs for the different RSS and realized that if an item author is specified then it must contain an email. This is not appropriate for wikis, so we just decided to drop it. Atom 1.0, on the other hand, accepts an optional Author without an email.
December 28th, 2005 at 3:51 am
As far as the missing email addresses, this is one validation that does not bother me. There is no way anyone in this day and age would want an actual unobfuscated email address in a feed. I doubt that any feed clent will fail based on a missing @ sign in the author field.
January 6th, 2006 at 2:14 pm
Yes you are right, some publisher just inserts [email protected] as email to satisfy the validator
January 10th, 2006 at 11:06 pm
Any plans on an updated version in the near future?
Secondly did you see this this http://phpbb.bitfolge.de/viewtopic.php?t=20 ?
January 12th, 2006 at 7:03 pm
[...] mypapit blog: Using Feedcreator to generate ATOM 1.0 feeds Atom 1.0 and PodCasting compatibility patch for feedcreator to php rss by Henri Bergius on 09/01/06 [...]
January 17th, 2006 at 1:27 pm
Hello there,
I’m working on releasing the next feedcreator with my patch. It will feature some code clean up and more classes to help setup photo gallery and podcast
stay tune
January 25th, 2006 at 12:04 am
Any progress? Looking forward to the next version.
February 21st, 2006 at 5:26 pm
Can’t download http://mypapit.net/drop/files/feedcreator-1.7.2-ppt.zip, where is it ?
March 7th, 2006 at 3:49 am
http://mypapit.net/drop/files/feedcreator-1.7.2-ppt.zip works fine. Any timeframe on the next version?
March 31st, 2006 at 6:45 am
As per
http://blogs.msdn.com/rssteam/archive/2006/03/30/565079.aspx
Content-type: application/atom+xml
should be used for Atom, while feed creator uses
Content-type: application/xml
March 31st, 2006 at 7:31 am
On the fly feed generation does not set the encoding header
March 31st, 2006 at 7:45 am
For the encoding issue and siplicity
_setMIME($format) {
…..
…..
}
should probably be changed to
_setMIME() {
header(“content-type: ” . $this->contentType . “; charset=”.$this->encoding, true);
}
April 1st, 2006 at 9:56 am
duly noted, thanks KosherJava
April 11th, 2006 at 3:40 am
Would you consider adding proper ttl support? This should include the syndication extension http://web.resource.org/rss/1.0/modules/syndication/ for RSS 1.0 and ATOM
hourly
2
See http://blogs.msdn.com/rssteam/archive/2006/04/08/571509.aspx . Delta encoding would be pretty nice (though I am not sure how to determine if there was a change and what the change is).
April 11th, 2006 at 3:42 am
hourly & 2 were part of some unescaped xml. I hope this works
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>2</sy:updateFrequency>
April 11th, 2006 at 3:57 am
Seems like I was wrong about sy: for ATOM. As per http://www.intertwingly.net/wiki/pie/Rss20AndAtom10Compared ATOM should
“Use the Expires and max-age cache hints in HTTP 1.1″
April 20th, 2006 at 12:57 pm
[...] Using Feedcreator to generate ATOM 1.0 feed 2006-04-09 to atom, devel, dokuwiki, feed, php by andi [...]
April 22nd, 2006 at 3:49 am
[...] I also switched to this modified version of FeedCreator.? I’ve dropped support for Atom .3 and added Atom 1.0. [...]
April 23rd, 2006 at 7:57 am
[...] Open Source Software Used: moo.fx, modified FeedCreator class [...]
May 4th, 2006 at 10:57 pm
Any update on a timeframe for the next release?
May 10th, 2006 at 4:30 am
[...] Because of all the standards that are flying around for feeds, Its best to just support them all. The best way to support everything is to use a third-party class to build your feeds. I have chosen FeedCreator, well a slightly modified version that supports ATOM 1.0 and the ability to display the feed without saving it first. Mambo and PhpGedView both use a modified version of FeedCreator for their feed generation. [...]
June 4th, 2006 at 11:48 pm
[...] Because of all the standards that are flying around for feeds, Its best to just support them all. The best way to support everything is to use a third-party class to build your feeds. I have chosen FeedCreator, well a slightly modified version that supports ATOM 1.0 and the ability to display the feed without saving it first. Mambo and PhpGedView both use a modified version of FeedCreator for their feed generation. [...]
June 27th, 2006 at 5:46 am
After some testing, FeedCreator is likely to be included as 3rdparty plugin in Wikka Wiki (http://wikkawiki.org).
mypapit, have you ever thought of putting the source in a SVN repository so more people can keep an eye on it and eventually contribute to its development?
Best,
Dario
June 27th, 2006 at 8:10 am
DarTar,
I would, but I’ve to ask permission from the original author first. :)
June 27th, 2006 at 10:46 pm
Why not just set it up as a sourceforge project? It is GPL and I do not think you need to ask anyone.
June 28th, 2006 at 5:47 am
The latest update of the original class was released on 2004-11-10 – I bet the author would be more than happy to see someone take over the development of his project.
June 30th, 2006 at 4:36 pm
you asked for it folks! :)
I will setup SVN/CVS server and a proper website for the new feedcreator (fork) website, where people can get latest snapshot of feedcreator.
Watch this space :)
p/s: I think we should have a different name to differentiate it with the original feedcreator
July 4th, 2006 at 12:32 am
How about phpfeedgenerator? 0 returns for that on Google.
http://www.google.com/search?q=phpfeedgenerator
July 4th, 2006 at 11:13 pm
My 2 cents.
I find phpFeedGenerator a little longish, it also seems that the name phpFeedCreator is already taken – pity. Maybe we need to make a further creativity effort ;) I think the name should be short, easy to remember and (possibly) suggest that unlike other packages, this is a flexible class that can generate feeds in any of the existing standards.
Looking forward to more updates…
July 4th, 2006 at 11:42 pm
Or why not contact the author of FeedCreator and ask him if he’s willing to give you the permission to use the same name for this project (which is more an extension than a fork of the original class, right?)?
July 6th, 2006 at 11:59 am
Great, I’m setting up SVN account and feedcreator website.
July 11th, 2006 at 4:58 am
Great news – I’m looking forward to it…
July 15th, 2006 at 1:20 am
Almost done, refer to http://feedcreator.org i’m still working to make Subversion/CVS available and other neat stuffs (bugtrack, forums, etc)
July 17th, 2006 at 5:57 pm
Excellent!
July 19th, 2006 at 12:05 am
Nice!
Maybe we can look to Zend_Feed for some ideas
July 21st, 2006 at 6:22 am
Will you be using SourceForge for SVN etc?
July 27th, 2006 at 11:25 pm
Subversion is available, yeah.. using sourceforge’s.Refer to http://feedcreator.org
For the roadmap, I think we should concentrate on improving feedcreator ATOM 1.0 support, the one included only have minimal support for ATOM 1.0 specs.
Since creating ATOM 1.0 feed is rather complex, i think users will appreciate some helper class like feedcreator
August 11th, 2006 at 11:56 pm
were any patches added to SVN? I see that the _setMIME patch mentioned above is not in SVN
November 10th, 2006 at 6:41 am
Any progress? You should also trim the huge post prior to this one.
November 27th, 2006 at 11:53 pm
(bumping) I’d like to hear if there are any news too.
December 5th, 2006 at 2:10 am
sorry i was busy with my MSc stuff, now that i’m done i can focus on feedcreator patches.
to keep things in order, i think feature request and bug report should be addressed in http://sourceforge.net/projects/feedcreator, specifically the tracker: https://sourceforge.net/tracker/?group_id=172984
patches should be submitted in patches tracker and you should submit your diff according to the latest stable feedcreator-ppt release (not the original feedcreator)
diff -u feedcreator-1.7.2ppt.php modified.php > file.patch
hopefully we can make this work and release as often as possible (with minimum bugs)
December 7th, 2006 at 6:55 am
I filed one patch based on a comment above, but it is not a real patch, just a copy from above. Do you want every bug above entered as a bug??
December 20th, 2006 at 12:28 am
Thanks for checking in the changes to SVN http://feedcreator.svn.sourceforge.net/viewvc/feedcreator/?sortby=date
I am looking forward to testing this updated version for integration with PhpGedView ( http://phpgedview.sourceforge.net/ ). We use the current version and look forward to the updated version. As far as enclusure support, I think that a utility methods that would calculate the file size on the fly without having to have the user calculate it would make its use easier. I guess if we passed the file path to the class, so both the following lines would be optional:
$item->enclosure->length=”950230″;
$item->enclosure->type=’audio/x-mpeg’
since they could be claculated. We should be able to do most common “types” without user intervension, but the user could easily overide this by manually setting both lines above.
December 20th, 2006 at 2:12 am
sounds good, thanks for the suggestion
December 20th, 2006 at 6:17 am
Added the enclosure enhancement to the RFE list at sourceforge.
December 22nd, 2006 at 12:06 am
Any reason the mbox uses ISO-8859-15 encoding?
December 25th, 2006 at 4:44 pm
I’ll change it to UTF-8 by default. I’m planning to add a function that can change encoding easily, since the original feedcreator does not have that function
December 25th, 2006 at 4:47 pm
Comments are closed, please post your comments on the latest feedcreator announcement