Search engine - App Engine - html

I have a newly created web application hosted in AppEngine (only HTML)
The question is, how can I make this page appear on Google Search Engine? Is this like the regular method (robot.txt, etc.) ?
Thanks!

There are two easy steps to notify Google about your new website
Create a sitemap for your static pages. You can use some on-line sitemap creator e.g. http://www.xml-sitemaps.com/
Create new account for your website in Google Webmaster Tools and add your newly created sitemap over there (Optimization > Sitemap).
You can also use Google Webmaster Tools to check status of your website indexing (Health > Indexing Status).
I hope that will help.

As mentioned above, one thing you could do is to add your website to Google Webmaster Tools (https://www.google.com/webmasters/tools/home)
If you have news on your website, you can also submit your content on
http://support.google.com/news/publisher/bin/topic.py?hl=en&topic=2484652
You can also submit your website to Google Analytics: http://www.google.com/analytics/
To check after a few days/weeks whether your site is crawled by google after the submission, type
site:yourwebsitename.com into the google search bar.
If you are further interested to add your site to Bing Search, try this link: http://www.bing.com/toolbox/submit-site-url

Related

Where to paste google analytics tracking id if firebase is used for hosting the website?

I am setting my website to be advertised by google using google ads. In doing so I came across a section Set up analytics on your website there it showed two options out of which one is Sign in to your website builder, web hosting service, or commerce platform and paste your tracking ID into the analytics section.
I am using firebase hosting service for my website. So as mentioned I went to the analytics section of firebase but I am unable to understand where I have to paste the tracking id.
Please guide me.
If you have Firebase hosting, then you don't need to paste the tracking ID.
Just make sure you add a web app and link it with your current hosted application.
This might change overtime, but on the Firebase console, go to project settings, and scroll down till you see Your apps section. Add (if doesn't exists) a web app, and you should see a Linked Firebase Hosting site
Once linked, Analytics will start tracking metrics for you.
there is no need of going to firebase, google analytics can do it for you just go to their website navigate to your website and copy the javascript code and paste it just below the head tag

Create shared Google Drive document owned by web service

I'm new to the Google APIs, and would like to write a small service class for my web application that:
creates blank Google document without user assistance
assigns a generated title
returns a URL that can be provided to multiple people to edit this document
This document mst be editable via a sharing link. Ideally it is owned/managed as part of the web service's Drive storage.
Code is welcome if it's easier than explaining, but I'm really asking for help understanding Google's service offering.
Can I fully authenticate using only credentials specific to my app? (e.g. call the Drive API without prompting an interloper/observer/user to
authenticate.)
Once authenticated, can I create documents local to my
API?
Whose quota are the created documents consuming, the person that created the API key?
Can I share
these created documents with others?
Will I be able to manage a list of
these created file URLs from a standard Google web UI?
Just to clarify what it is that you are asking. You want to be able to embed a google doc on your website A couple things that can happen here.
First, you will need to create a google doc, lets say a spreadsheet. Within that spreadsheet you will:
click File > Publish to the Web.
From here a new window will be brought up. Click Embed and Published content and settings and click the publish button. Ensure the Automatically republish when changes are made checkbox. (this will allow for your website to be automatically updated anytime that doc is changed.
Take the embedded link that is generated and plop it in your webpage and it will be live.
Now you can share the page via Google Docs and anyone that has that link can make changes to that spreadsheet. As soon as a change is made, it will update on your website with the next refresh.
Hope this is all clear, let me know if there is anything unclear.
Cheers

How to make starting a UiApp by a group of users easy?

After opening Gmail or Google Drive you see the google bar (containing the Google logo, a searchbox and clickable button for apps, notification of unread messages, sharing and about) on top of the window.
I want to put a put a button for starting my UiApp (build with GAS) there as well.
Is this possible (and how) ?
Several users will have read access to the google drive. I want those users to be able to start my UiApp from a button in google bar as well. What should I do (and what should they do) to make that possible?
If this is not possible, where can I put my UiApp best so users can start it easy?
My application is NOT intended to be accessible by other people except the ones I provided access to my Google Drive.
I believe you can accomplish this by leveraging the Gadgets section of the Gmail API to accomplish this as detailed here. I've seen this type of Gadget added by a Chrome Extension before but not directly from Google Apps Script.
I think you would need to use the "New" button, and publish a script to the Chrome Web Store. Then your app would be in the drop down list of the "New" button. The problem with that, is that the general public could see the app. I'm assuming you don't want that.
If you want an easily accessible central location for users, you could create a website with Google App Engine. You can get a free domain name of
www.mySiteName.appspot.com
It would be easier for users to get there than the URL of your Apps Script.

Google app script - search hosted attachments

How to search for hosted attachments in google sites using Google App script?
I tried to search using page.search("query", options) with page type as Webpage, Filecabinetpage, but I'm not able to search my page attachments.
Can anybody help me in this?
There is no direct search method. However, you can use the Page.getAttachments() to get a list of attachments and do a manual search through them.
You can open a request in the Issue tracker for this feature to be added.

Integrating Google Docs - Authentication and Access

I'm interested in integrating Google Docs with our application, and curious if the API will support our use case.
Our user would see a link on our site to open a document (document created programmatically). When they click the link, it would open up Google Docs (in another browser tab) in either write or read-only mode depending on permission in our system. Preferably the user wouldn't need a Google account at all. Also, before they click the link we would like to show a completely static HTML representation of a particular revision of that document. It would be also nice to listen to changes (from our back-end) to documents to update say the static html or some such. They wouldn't be able to create new documents, or delete the document.
In Summary:
Control document create/deletion
Control document sharing (some workaround may be acceptable here)
Authenticate thru our service to edit/view doc
Add comments to document thru API
Turn document into static HTML
It might be nice to customize the Google Doc editor to make it more geared for the type documents we create (film scripts), but not required, a template is helpful, so creating a doc with a template would be nice.
Which API's, account types, etc do we need to accomplish the above if possible?
A Google account is required to interact with Google Drive and Google Docs. What you could do is, upon clicking, authorize access to the user's Google Drive account, copy a doc into their Drive, and then redirect them into editing the newly copied doc. All of your other requirements are supported.
You can do these things with the Google Drive SDK.