Code Monkey home page Code Monkey logo

as3syndicationlib's People

Watchers

 avatar

as3syndicationlib's Issues

Unable to determine feed type.

What steps will reproduce the problem?

1. Using FeedFactory.getFeedByXML();
2. Attempt to access http://thealternativenewsletter.blogspot.com/atom.xml

Top node of the feed has:

<feed version="0.3" aaa:lang="en-US" xmlns="http://purl.org/atom/ns#"
xmlns:aaa="http://www.w3.org/XML/1998/namespace">

I was expecting it to identify the feed correctly, however it throws an
error "Unable to determine feed type."

Using trunk version compiled into swc.


Original issue reported on code.google.com by [email protected] on 30 Jan 2007 at 8:14

Security Error #2048

Hi, i am getting a Security Error #2048 when I try to process the URL.
I added the RSS URL (URLLoader) to my code and am trying to process it with
the your libraries latest version.
I am using Actionscript 3.

I was told to use a crossdomain.xml on other websites but I don't have
access to the other servers obviously.

Original issue reported on code.google.com by [email protected] on 17 Apr 2009 at 3:26

DateUtil RFC822 Parses Incorrect Date

What steps will reproduce the problem?
1. Run the following code:
import com.adobe.utils.DateUtil;

var date:Date = DateUtil.parseRFC822("Mon, 24 Aug 2009 12:00:00 GMT");
trace(date);

What is the expected output? What do you see instead?
The output date does not match the RFC822 date specified.

What version of the product are you using? On what operating system?
.92.1 on Windows XP

Original issue reported on code.google.com by [email protected] on 25 Aug 2009 at 4:51

incorrect PubDate for RSS 2.0

What steps will reproduce the problem?
1. take any RSS feed with item having summer time
2. parse them
3. result of incorrect pubdate

What is the expected output? What do you see instead?
an example
rss : <pubDate>Fri, 10 Apr 2009 09:53:41 +0200</pubDate>

parse result  : 10 march 2008 08:53:41

What version of the product are you using? On what operating system?
Air 1.5.1 (flex builder with sdk 3.3 on a mac similar result on PC)

Please provide any additional information below.
a feed which is affected http://www.pcinpact.com/include/news.xml (for example) 
notice that date are correct with regular feed reader


Original issue reported on code.google.com by [email protected] on 10 Apr 2009 at 8:50

Unit tests fails when timezone is not US-Pacific

In RSS10Test, the following fail:

testChannel - expected:<Thu Sep 15 13:00:00 GMT-0400 2005> but was:<Thu Sep
15 10:00:00 GMT-0700 2005>
testItems - expected:<Sat Oct 15 13:00:00 GMT-0400 2005> but was:<Sat Oct
15 10:00:00 GMT-0700 2005>

In Atom10Test, the following fail:

testEntries - expected:<Thu Jan 19 07:00:00 GMT-0500 2006> but was:<Thu Jan
19 04:00:00 GMT-0800 2006>
testFeedData - expected:<Fri Jan 20 07:00:00 GMT-0500 2006> but was:<Fri
Jan 20 04:00:00 GMT-0800 2006>

You can see that the dates are all actually the same, but me being in the
Eastern Time Zone throws off the "toString()" output from the date
instances which causes the tests to fail.  The date comparisons need to be
done differently so that they don't rely on toString().

Original issue reported on code.google.com by darron.schall on 15 Jan 2007 at 9:06

[Patch] GeoRSS Support

I've modified a few files and added a few to make it easy to parse feeds
with GeoRSS. Added:
generic.Geo
generic.LatLng

Added functions to:
syndication.ParsingTools (xmlToGeo)
syndication.Atom.Entry / Entry10 (get geo) * This class got renamed between
the version I originally downloaded and modded and the version I just
checked out, so this patch probably needs some modding

Note that I didn't add get geo to the Rss Item classes, since I was testing
with ATOM feeds. But it should be a one liner.

What's the possibility of getting this integrated? Thanks!

Original issue reported on code.google.com by pamela.fox on 4 Jun 2008 at 9:51

Attachments:

Cannot parse some of Deviantart feeds

What steps will reproduce the problem?
1. Try to parse http://backend.deviantart.com/rss.xml?q=special%3Add
2. var feed:IFeed = FeedFactory.getFeedByString(data);
3.

What is the expected output? What do you see instead?

item.media.url should be the image url, ex:
http://fc00.deviantart.net/fs30/f/2008/171/3/e/Astounding_Vastness_by_j4m3sb0nd.
jpg

instead, some of the items have media.url like this:
http://fc00.deviantart.net/fs30/f/2008/171/3/e/Astounding_Vastness_by_j4m3sb0nd.
jpghttp://www.deviantart.com/download/89123832/

(note the extra http://www.deviantart.com/download/89123832/)

What version of the product are you using? On what operating system?
0.85, win7

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 10 Mar 2010 at 11:59

Licensing issue

Even though the website says that this library is distributed under New BSD 
License, this license file does not talk anything about the New BSD License. 
How can i get the BSD licensed version of this library?

Original issue reported on code.google.com by [email protected] on 8 Nov 2010 at 9:05

Some Atom feeds use "updated" field for date instead of "published"

What steps will reproduce the problem?
1. try to parse feed http://feeds.sophos.com/fr/atom1_0-sophos-security-
news.xml 
2.
3.

What is the expected output? What do you see instead?

you get null for Atom10Item.date instead of a valid date

What version of the product are you using? On what operating system?

last version on Windows XP

Please provide any additional information below.

you can correct this issue by add "this.entry.updated" after a null test of  
"this.entry.published" in line 121 of 
com.adobe.xml.syndication.generic.Atom10Item Class

public function get date():Date
{
    return this.entry.published || this.entry.updated;
}

Original issue reported on code.google.com by [email protected] on 26 May 2010 at 2:53

Set mime-type to HTML for docs hosted here

I suggest doing svn propset svn:mime-type text/html *.html before
committing, as then people would be able to view the docs while browsing
the repository.

Original issue reported on code.google.com by pamela.fox on 5 Jun 2008 at 4:54

Can't access xmlns:media elements

During development of an application that uses the as3syndicationlib, i've
come across a situtation where i want to access data the library doesnt
currently pass. The head of the xml i'm loading is:

<rss version="2.0"
        xmlns:media="http://search.yahoo.com/mrss/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
        >

You'll notice the xmlns:media, which isnt currently supported by the library.

The url i was attempting to load is:

http://api.flickr.com/services/feeds/groups_pool.gne?id=70412467@N00&format=rss_
20

Original issue reported on code.google.com by darron.schall on 8 Feb 2007 at 8:32

Include MediaRSS classes from devnet sample

Enhancement: include MediaRSS classes from devnet sample:

http://examples.adobe.com/flex3/devnet/mediawidget/srcview/
and download a zip here: 
http://examples.adobe.com/flex3/devnet/mediawidget/srcview/MediaWidget.zip



Original issue reported on code.google.com by [email protected] on 7 Oct 2008 at 6:07

Enter one-line summary

What steps will reproduce the problem?
1. Provide an Atom feed that uses the summary tag, not the content tag, and
use FeedFactory to produce an IFeed typed object
2.
3.

What is the expected output? What do you see instead?
I expect to see the feed summary - null is returned


What version of the product are you using? On what operating system?
Flex 2.0.1 Win XP


Please provide any additional information below.

I changed Entry.as as follows as a temp fix and this handles various atom
feeds from around the web just fine. I need to add some code, and also
determine what exactly to code when xhtml is detected. I tested a feed with
a type of xhtml, and the feed didn't have the expected div tags, which
*seems* to be standard.
public function get content():Content
{
var content:Content = new Content();
content.type = ParsingTools.nullCheck(x.atom::content.@type);
content.src = ParsingTools.nullCheck(x.atom::content.@src);
if (content.type == "xhtml")
{
// this line needs to be changed, but for now, return flat content.
content.value = ParsingTools.nullCheck(x.atom::content);
}
else
{
content.value = ParsingTools.nullCheck(x.atom::content);
}
if(content.src != null || content.value == null)
{
content.type = ParsingTools.nullCheck(x.atom::summary.@type);
content.src = ParsingTools.nullCheck(x.atom::link.(@rel=="self").@href);
if (content.type == "xhtml")
{
content.value = ParsingTools.nullCheck(x.atom::summary);
}
else
{
content.value = ParsingTools.nullCheck(x.atom::summary);
}
}
return content;
}




Original issue reported on code.google.com by [email protected] on 18 Mar 2007 at 1:39

lack of com.adobe.utils

Hi, I'm useing SVN to check out this proj. into my proj. but yours need the
lib com.adobe.utils,though I can download it from adobe, but I do not have
the right to check in it, so this make the checking in bluh bluh bluh~~

Original issue reported on code.google.com by [email protected] on 28 Apr 2008 at 2:52

Invalid RFC 822 dates throw Error from IItem.date

What steps will reproduce the problem?
1. Retrieve a feed that has an invalid RFC 822 date (e.g. "3/1/07 12:00:00
AM EST")
2. Attempt to retrieve IItem.date
3. An error is thrown:

Error: Unable to parse the string [3/1/07 12:00:00 AM EST] into a date. The
internal error was: TypeError: Error #1009: Cannot access a property or
method of a null object reference.
    at com.adobe.utils::DateUtil$/parseRFC822()[C:\Documents and
Settings\mchamber\My
Documents\src\flashplatform\projects\corelib\trunk\src\actionscript3\com\adobe\u
tils\DateUtil.as:460]
    at com.adobe.xml.syndication::ParsingTools$/dateCheck()[C:\Documents and
Settings\mchamber\My
Documents\src\flashplatform\projects\xmlsyndication\trunk\src\actionscript3\com\
adobe\xml\syndication\ParsingTools.as:116]
    at com.adobe.xml.syndication.rss::Item20/get pubDate()[C:\Documents and
Settings\mchamber\My
Documents\src\flashplatform\projects\xmlsyndication\trunk\src\actionscript3\com\
adobe\xml\syndication\rss\Item20.as:161]
    at com.adobe.xml.syndication.generic::RSS20Item/get date()[C:\Documents
and Settings\mchamber\My
Documents\src\flashplatform\projects\xmlsyndication\trunk\src\actionscript3\com\
adobe\xml\syndication\generic\RSS20Item.as:118]
    at
RSSTagger/RSSTagger::generateDisplayRssHtml()[D:\Devel\Risk\Engineering\src\rss_
tagger\src\RSSTagger.mxml:154]
    at ()[D:\Devel\Risk\Engineering\src\rss_tagger\src\RSSTagger.mxml:84]
    at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunctio
n()
    at flash.events::EventDispatcher/dispatchEvent()[C:\Documents and
Settings\acrorel\Local Settings\Temp\aslibc-26332\EventDispatcher.as:184]
    at
mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcE
vent()[C:\dev\enterprise_bali\frameworks\mx\rpc\AbstractInvoker.as:146]
    at
mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::resultHandle
r()[C:\dev\enterprise_bali\frameworks\mx\rpc\AbstractInvoker.as:168]
    at
mx.rpc::Responder/result()[C:\dev\enterprise_bali\frameworks\mx\rpc\Responder.as
:48]
    at
mx.rpc::AsyncRequest/acknowledge()[C:\dev\enterprise_bali\frameworks\mx\rpc\Asyn
cRequest.as:82]
    at
DirectHTTPChannel.as$139::DirectHTTPMessageResponder/completeHandler()[C:\dev\en
terprise_bali\frameworks\mx\messaging\channels\DirectHTTPChannel.as:359]
    at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunctio
n()
    at flash.events::EventDispatcher/dispatchEvent()[C:\Documents and
Settings\acrorel\Local Settings\Temp\aslibc-26332\EventDispatcher.as:180]
    at flash.net::URLLoader/flash.net:URLLoader::onComplete()[C:\Documents and
Settings\acrorel\Local Settings\Temp\aslibc-26332\URLLoader.as:415]

What is the expected output? What do you see instead?

The expected output is the date.  What is seen is the stack trace above.

What version of the product are you using? On what operating system?

0.85 on WinXP

Please provide any additional information below.

Perhaps some try..catch can be done in Item20.pubDate() to be tolerant of
invalid dates.  I would prefer to get no date rather than an exception.

Original issue reported on code.google.com by [email protected] on 10 May 2007 at 6:51

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.