I quickly made a little form in Google Docs that lets people insert the most current attraction wait times at Disneyland and submit them to a Google Spreadsheet. I want to make a web page that will display the bottom, most recent row from that spreadsheet so the current wait time for each attraction is always displayed when someone visits the web page. Is there a possible way already to share and embed just the bottom row of data from the spreadsheet?
Hooray for google's api documentation section, although it's hard to sometimes find the right section... I've never done this before but it looks pretty straightforward
for list based feeds
see this: http://code.google.com/apis/spreadsheets/data/3.0/developers_guide.html#ListFeeds
or for cell based feeds
see this: http://code.google.com/apis/spreadsheets/data/3.0/developers_guide.html#CellFeeds
Related
I created small web page application with Javascript Google Sheets used as database for some electronic parts, where user can set/increment/decrement their amount.
My problem is I cannot find any way to simple increase-decrease by one that will be reliable with multiple users (something like Google Sheets server will handle the increment & increase requests).
My current code works this way (pseudocode):
function increase_cell() {
write_cell(read_cell() + 1);
}
This have the problem when I want multiple users to increment the cell at once, because if they do it in same time (read & write take about 1s so it's a pretty big window to happen), one of two increment will be lost because of rewriting of the other one.
I know its the works way to do it, but I wasn't able to find anything in the documentation and I don't know if its a feature or not. That's why I ask this question in the first place.
I am trying to get the twitter name, website, and markets for any cryptocurrency listed on coinmarketcap.
For example:
https://coinmarketcap.com/currencies/bitcoin shows all of the data that I need but how would I parse the data listed on that page to get the twitter name and website associated with bitcoin?
Don't try to parse the data on that page if you are trying to use it in an application. If you are doing it for a one time data collection then maybe that is OK. There is absolutely no guarantee that the format will remain consistent or that the information will even be there tomorrow.
You should try to find an API that gives you the information that you are looking for. An API is a contract that is expected to be honored and therefore is reliable. A quick look at CoinMarketCap's API doesn't appear to have the info you are looking for but maybe another one exists that does.
If you were to parse the HTML you could write a regex for the specific thing you are looking for. For example if you want to get the website you could write a regex that would pick up the pattern:
Website
the capture group ([^"]+) is the website in this example. You could do something like that for every element you want to get.
I have submitted 1000 pages to Google included in my sitemap, but I did it by mistake. I didn't want to submit all, I wanted to submit 800 and release 1 page per day during 200 days in order to add new fresh content every day, that way Google would see it as a frequently updated website which is a good SEO practice.
I don't want Google to know about the existence of those 200 pages right now, I want Google to think it is fresh content when I release it every day.
Shall I resend the sitemap.xml with only 800 links and hide the pages in the website?
If Google has already indexed the pages, is there any change to make Google "forget" those pages and not recognize them in the future when I release them back?
Any suggestion about what to do?
Thank you guys.
I wouldn't do that. You're trying to cheat, Google doesn't like this. Remain your site as it is now, create new content and submit it into Google's index as frequently as you want. If you'll exclude previously submitted data from the index, with a high probability it won't be indexed again.
I have a list of 35,000 names of companies. I need to perform an internet search and return the first result . I would like to automate the process. I was orginally thinking about using IE automation in excel. However, I am not sure if there is a better approach. I need to google search the company's name and return the URL of the first result. If the results could be in excel, that would be great as the list is in excel. Any thoughts?
You can automate IE to perform the search. Normally, a delay is set up to keep checking if the page is loaded. I suggested recently that a better alternative is to keep trying to reference the first H3 element in the page, and read it's contained A-tags' href attribute. If this succeeds then Stop navigating the page, or navigate to the next page.
There is a slight catch with this approach though, as the H3 is often a sponsored-link. It is possible to determine this though, and so find a link further down.
The whole process will still take an age though.
Alternatively, there is the Google Search API but you'll have to pay for more then 100 searches per day.
I used to use google finance to create portfolios/change them and then display them on my site but since its being removed I'm wondering if there's any good free alternatives?
Basically I have a program that creates different portfolios based on different factors(20 right now), so each of the 20 links on my site direct people to a page that displays the portfolios. I am looking for something that I can use to automatically update the portfolios.
If it helps, my site is basically a free tutorial site that helps people learn how to manage their own portfolios. There's different lessons and then using market data & news(which I already get) I automatically generate a sample portfolio to show them how everything comes together. I liked google finance because they could see all of google's data but they could also click around and dig deeper if they want.
Is there anything I can use to get this result?
I'm not sure I understand exactly what you want, but it sounds like #DirkEddelbuettel's BeanCounter will do what you need.
Or, if you're just looking for quotes see http://www.gummy-stuff.org/Yahoo-data.htm and http://developer.yahoo.com/yql/