This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import csv | |
from bs4 import BeautifulSoup | |
from os.path import exists | |
def scrape_sitemap(url): | |
""" | |
Scrapes the provided sitemap URL and returns a list of extracted data. | |
Handles both regular sitemaps and sitemap index files. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file | |
// for details. All rights reserved. Use of this source code is governed by a | |
// BSD-style license that can be found in the LICENSE file. | |
import 'package:flutter/material.dart'; | |
void main() => runApp(MyApp()); | |
class MyApp extends StatelessWidget { | |
@override |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:cloud_firestore/cloud_firestore.dart' as MobFirebaseFirestore; | |
import 'package:firebase/firebase.dart' as WebFirebase; | |
import 'package:firebase/firestore.dart' as WebFirestore; | |
import 'package:firebase_auth/firebase_auth.dart' as MobFirebaseAuth; | |
import 'package:firebase_auth/firebase_auth.dart'; | |
import 'package:flutter/foundation.dart'; | |
import 'package:google_sign_in/google_sign_in.dart'; | |
import '../main.dart'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/foundation.dart'; | |
import 'package:flutter/material.dart'; | |
import 'package:mobile_web_firebase/main.dart'; | |
import 'package:mobile_web_firebase/screens/signin.dart'; | |
import 'package:mobile_web_firebase/services/auth.dart'; | |
//==================This is the Homepage for the app================== | |
String strAppBarTitle = "Healthstation Foundation"; | |
class HomeScreen extends StatefulWidget { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:cloud_firestore/cloud_firestore.dart' as MobFirebaseFirestore; | |
import 'package:firebase_auth/firebase_auth.dart' as MobFirebaseAuth; | |
import 'package:firebase_auth/firebase_auth.dart'; | |
import 'package:flutter/foundation.dart'; | |
import 'package:google_sign_in/google_sign_in.dart'; | |
import '../main.dart'; | |
MobFirebaseAuth.FirebaseUser firebaseUser; | |
//For storing user Profile info |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:google_sign_in/google_sign_in.dart'; | |
import 'package:firebase_auth/firebase_auth.dart'; | |
//This contains actual user information | |
MobFirebaseAuth.FirebaseUser firebaseUser; | |
//This is the main Firebase auth object | |
MobFirebaseAuth.FirebaseAuth mobAuth = MobFirebaseAuth.FirebaseAuth.instance; | |
// For google sign in | |
final GoogleSignIn objGoogleSignIn = GoogleSignIn(); |