I have an "Action" Zap which is the RSS Zap. Then the next "Action" Zap is a Run Code/Run Python Zap.
I would like the Python Zap to send all the existing feed entries in the RSS feed as data (photo data) from the RSS feed to a Google spreadsheet Zap or possibly Dropbox zap.
Basically I'd like to enter the RSS feed and the zap sends all the existing entries to a spreadsheet or Dropbox (image upload).
I've been able to collect the first entry from a feed using:
import re
values = re.sub('(^,+|,+$)', '', input_data['values'])
return [{'values': values}]
With 'values' being the image URL to collect the image. But I'd like to send every RSS feed entry URL to the next Zap
What do I need to change here? Thanks for your help!
Edit: Update
This is what I'm imagining
1. User Submits RSS Feed via form on website
2. Zap triggered
3. RSS feed app activated
4. Python app gets RSS feed info
4b. Python app extracts images and titles from every current entry on the RSS feed
4c. Python app send all extracted images and titles to Dropbox app
5. Dropbox app collects (via upload option) all images and text from the Python app in the folder
To key to this being the Zap captures everything that is currently in the RSS feed, instead of simply being ready to capture items as they come into the RSS feed.
Related
I am trying to track traffic coming from Apple News through Google Analytics, submit in RSS format. After online search I found that only if it's submitted in Apple New format. And that RSS feed is unreliable to track with GA.
Is there any other way to do this?
The first link you provided shows that the browser dimension is set as AppleNews for those visitors (I've never used Apple News before, but I'm guessing it's an in-app browser).
This gives you a few options:
Use a secondary dimension of Browser with an advanced search for AppleNews in your Acquisition report.
Create a segment where the Browser matches AppleNews to make it available for all reports.
Create a find/replace filter when the Browser matches AppleNews to change the acquisition data itself (source/medium). You'll want to be careful with his because it permanently alters your data!
The other thought I had is that maybe it's possible to use UTM query strings only when submitting to RSS? If the data is scraping your website you could programmatically update the RSS URL to include UTM parameters to track the source/medium that way (this may have varying success because of other scrapers outside of Apple News).
If you manually submit to Apple News, you could manually UTM tag your URLs so the source/medium is forced to Apple News.
How would I be able to have a user enter a stock ticker and using real time data, display the current stock price for that ticker on an iPhone app?
Check out the free Yahoo! finance CSV api:
https://code.google.com/p/yahoo-finance-managed/wiki/YahooFinanceAPIs
this question:
How to download CSV file from server in Objective-C
and this little tool:
https://github.com/davedelong/CHCSVParser
You could grab current stock prices for lots of stocks in one api request and deliver them to your app by parsing the csv.
I'm trying to design an app for my club at school. What I want to happen is when there is new information about meetings or events I want to be able to add this new content to the app and then have it visible by other app users.
So my question is how would I approach this idea?
Conceptually, you're going to need to have a centralized server which contains the data, an API to connect an application to this data, and finally the end user application.
On the server end, you could have a simple database which will house the event and meeting information.
On the API end, you could have a simple script which fetches the latest entries in the database and displays the data in a standard format such as JSON or XML.
On the app end, every time the user opens the application, fetch the latest data from your API and parse it into an array. Then, just populate a table or collection with the data in that array. You could also add a pull to refresh control to fetch the latest information at any time so the user doesn't have to launch the app again.
I am displaying the list of news from Times of India RSS feed in my webpage and once the user clicks the list it has to get the contents from the RSS feed and display the entire description in my webpage. I have seen this kind of app in mobile but I don't know how to do it just help me with this
It depend on the xml feed you are receiving some allow description while others don't
I will develop a small iPhone application for a festival.
I want to create a news page with the latest news about the festival.
How can I simply add news in my app without using Xcode for updating the app ?
RSS feed ? Are they other methods ?
Simply create a rest service backend or add the data to a file that you load via network from Rest, SOAP or even googledrive/dropbox...
Dropbox Example
Google Drive Example