Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

extends to support String ( instead of URL ) #5

Closed
wants to merge 1 commit into from

Conversation

beavermml
Copy link

  • now can receive String in case of saving the RSS/Atom into the database

- now can receive String in case of saving the RSS/Atom into the database
@dg
Copy link
Owner

dg commented Jul 2, 2014

I dont understand purpose of this PR. file_get_contents never throws exceptions.

@beavermml
Copy link
Author

in my case, i send the string of RSS ( not file/url ) to the function.. it throws error when i put string in it..

@dg
Copy link
Owner

dg commented Jul 3, 2014

PHP functions do not throw exceptions. Sorry I dont understand where is a problem, but this fix is not good.

@beavermml
Copy link
Author

it is just a hack to my app so that it can use string of XML ( "<?xml .... >" ) instead of URL ( "http:// " ) or file ( "xml.rss" )..

i am sorry.. i am not too good at PHP programming.. i just thought if your app can support strings of XML instead of only URL or files it will be much better..

@beavermml
Copy link
Author

ok.. sorry.. i redid my code.. it seems the exception is thrown because something else.. sorry to distirb your time

@beavermml beavermml closed this Jul 3, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants