Media RSS and Zend - zend-framework

I have a Magento application running atop Zend framework. I like to generate Media RSS feed in Zend (In orded to feed the Cooliris application).
Does anyone know if Zend framework supports Media RSS feed?
(I didn't find anything in http://framework.zend.com/manual/1.10/en/zend.feed.html, but maybe I dint look in the right place?)
Tx,
Sty

Check the comments on the page you referred to for Zend_Feed_Writer and the entry in the API for syntax.

Related

WordPress RSS feed using FishPig for Magento 2

Is it possible to display an RSS feed using FishPig for Magento 2? The official WordPress documentation for RSS feed (https://codex.wordpress.org/WordPress_Feeds) doesn't seem to apply in this case; is this built-in functionality that I can take advantage of, or will I need to extend the module and build out a custom feed?
Thanks in advance!
To display RSS feeds, you will need the Shortcodes and Widgets add-on module. This will get all feeds of all types working automatically. It will also allow you to use any shortcode based WordPress plugin (page builders, form plugins, sliders etc).

Merge Orchard Blog Into Existing Website

I'm trying to determine the best way to "merge" my orchard blog into my existing website. Currently the blog accessed outside the site.
I threw together a quick view in my MVC site that just loads the blog into an iframe. Any other ideas?
The blog is tuned up with a great theme and tons of mods & styling that matches my main site design to a T.
On the home page of my site, I'm using the RSS feed to output a list of the last 3 blog posts. My idea is that the user will click on a blog post link and go directly the view that hosts the blog in the inline frame.
I guess the only variable that I haven't handled yet is how to load up the correct page in the blog based on the link that the user clicked on my main site home page.
I've read other posts on this subject and it seems like the solution that is always offered is to merge all the code from the main website into Orchard which seems insane...I have a very large auction based website, taking all that logic & content and putting into Orchard is not an option.
Hope all that makes sense, thanks for the input. I can't think it would be a huge issue to "seamless" integrate my blog with my MVC site.
Orchard was never designed to be integrated into an existing application, so something like what you've done is what you have to do. The iframe however has a number of problems, such as its fixed size, and awkward navigation. It's better to integrate data than markup. It's now easy to build WebAPI controllers to expose Orchard data. You could consume that data in your application and render it there. That enables you to manipulate the data before rendering, which is of course easier than manipulating rendered HTML. For example, you can build your own link URLs so that clicking on a post's title goes to an action on your site that fetches the post contents rather than the Orchard post URL.
One final comment: It is a little weird that an auction website would need to integrate a blog in the middle of its own rendering. Shouldn't the blog be a separate section of the site?

how to get news full content from rss feed in j2ee

I am developing a site which is supposed to get the news content of other sites, something like this. but without redirecting to the host for reading the news content.
now the problem is that I don't know what is the best way to get the content completely. I know that I can use RSS feed for each site but it has only a short description of each news not the whole story. I have also read the related questions in SO like these:
How to get the full content from the rss feed in javascript
How to extract the full content from a partial content rss
but none of them solved my problem .
now I wanna ask what is the best way to get the whole content of news from different sites if it is necessary to go directly to them?
I am sorry because of bad english and if my question is not clear enough I can explain it even more
thanks in advance
You could use web scraping library like boilerpipe to extract content from news sites, but scraping breaks easily(if the target site changes layout for example) and there might be legal issues in extracting full content from other sites and displaying in yours.
Edit: I tried boilerpipe api demo and the library seems very smart at extracting articles from web pages.

Wikipedia page parser for iPhone App project

i want parse a wikipedia page to retrieve information for my ios app, there is a parser or some tutorial that explain me how i can do it?...or to put the page in an xml format, i have look the http://www.mediawiki.org/wiki/MediaWiki page, but i haven't understood nothing, if anyone can help me please..maybe with some example...
Have you read the MediaWiki API page, the page that describes the Query action, and above all else their API FAQ? These links will tell you what URLs you should be using to get the data that you require.
Do you know how to download a URL with NSURLConnection?
To start with, try using their API to download a Wikipedia page of your choice in HTML format. There's an answer in their FAQ that tells you how to request HTML format. If you do that, you'll get something you could display in a web view and style as you'd like.

How can I get my photos from TWITTER using Zend Framework

$twitter = new Zend_Service_Twitter('myusername', 'mypassword');
$response = $twitter-> ?????????;
Naybosy cna elp
Twitter have disabled basic authentication and Zend Framework updated their library accordingly to use OAuth.
You'll need to consult the current documentation for Zend_Service_Twitter and make changes to your code.
Saying twitter doesn't do images is incorrect, they added their own image upload service as part of an update in June 2011 and also store references to all images uploaded by the user using third party applications.
You can see this by looking the urls: https://twitter.com/#!/<twitter-username>/media/grid
But Zend framework currently doesn't offer an easy way to grab these. I am looking to do this myself and thinking I will combine the Zend twitter search functionality along with looking at the parameters for entities and media within the twitter api docs:
http://framework.zend.com/manual/en/zend.service.twitter.html#zend.service.twitter.search
https://dev.twitter.com/docs/tweet-entities
I will post back if I do this anytime soon with a link to the code.