Search Featured Websites:
Feature your business, services, products, events & news. Submit Website.


Breaking Top Featured Content:

Create A Bookmarking Application With FaunaDB, Netlify And 11ty

Create A Bookmarking Application With FaunaDB, Netlify And 11ty

Create A Bookmarking Application With FaunaDB, Netlify And 11ty

Bryan Robinson

The JAMstack (JavaScript, APIs and Markup) revolution is in full swing. Static sites are secure, fast, reliable and fun to work on. At the heart of the JAMstack are static site generators (SSGs) that store your data as flat files: Markdown, YAML, JSON, HTML, and so on. Sometimes, managing data this way can be overly complicated. Sometimes, we still need a database.

With that in mind, Netlify — a static site host and FaunaDB — a serverless cloud database — collaborated to make combining both systems easier. 

Why A Bookmarking Site?

The JAMstack is great for many professional uses, but one of my favorite aspects of this set of technology is its low barrier to entry for personal tools and projects.

There are plenty of good products on the market for most applications I could come up with, but none would be exactly set up for me. None would give me full control over my content. None would come without a cost (monetary or informational).

With that in mind, we can create our own mini-services using JAMstack methods. In this case, we’ll be creating a site to store and publish any interesting articles I come across in my daily technology reading.

I spend a lot of time reading articles that have been shared on Twitter. When I like one, I hit the “heart” icon. Then, within a few days, it’s nearly impossible to find with the influx of new favorites. I want to build something as close to the ease of the “heart,” but that I own and control.

How are we going to do that? I’m glad you asked.

Interested in getting the code? You can grab it on Github or just deploy straight to Netlify from that repository! Take a look at the finished product here.

Our Technologies

Hosting And Serverless Functions: Netlify

For hosting and serverless functions, we’ll be utilizing Netlify. As an added bonus, with the new collaboration mentioned above, Netlify’s CLI — “Netlify Dev” — will automatically connect to FaunaDB and store our API keys as environment variables.

Database: FaunaDB

FaunaDB is a “serverless” NoSQL database. We’ll be using it to store our bookmarks data.

Static Site Generator: 11ty

I’m a big believer in HTML. Because of this, the tutorial won’t be using front-end JavaScript to render our bookmarks. Instead, we’ll utilize 11ty as a static site generator. 11ty has built-in data functionality that makes fetching data from an API as easy as writing a couple of short JavaScript functions.

iOS Shortcuts

We’ll need an easy way to post data to our database. In this case, we’ll use iOS’s Shortcuts app. This could be converted to an Android or desktop JavaScript bookmarklet, as well.

Setting Up FaunaDB Via Netlify Dev

Whether you have already signed up for FaunaDB or you need to create a new account, the easiest way to set up a link between FaunaDB and Netlify is via Netlify’s CLI: Netlify Dev. You can find full instructions from FaunaDB here or follow along below.

Netlify Dev running in the final project with our environment variable names showing

Netlify Dev running in the final project with our environment variable names showing (Large preview)

If you don’t already have this installed, you can run the following command in Terminal:

npm install netlify-cli -g

From within your project directory, run through the following commands:

netlify init // This will connect your project to a Netlify project

netlify addons:create fauna // This will install the FaunaDB "addon"

netlify addons:auth fauna // This command will run you through connecting your account or setting up an account

Once this is all connected, you can run netlify dev in your project. This will run any build scripts we set up, but also connect to the Netlify and FaunaDB services and grab any necessary environment variables. Handy!

Creating Our First Data

From here, we’ll log into FaunaDB and create our first data set. We’ll start by creating a new Database called “bookmarks.” Inside a Database, we have Collections, Documents and Indexes.

A screenshot of the FaunaDB console with data

A screenshot of the FaunaDB console with data (Large preview)

A Collection is a categorized group of data. Each piece of data takes the form of a Document. A Document is a “single, changeable record within a FaunaDB database,” according to Fauna’s documentation. You can think of Collections as a traditional database table and a Document as a row.

For our application, we need one Collection, which we’ll call “links.” Each document within the “links” Collection will be a simple JSON object with three properties. To start, we’ll add a new Document that we’ll use to build our first data fetch.

{
  "url": "https://css-irl.info/debugging-css-grid-part-2-what-the-fraction/",
  "pageTitle": "CSS { In Real Life } | Debugging CSS Grid – Part 2: What the Fr(action)?",
  "description": "CSS In Real Life is a blog covering CSS topics and useful snippets on the web’s most beautiful language. Published by Michelle Barker, front end developer at Ordoo and CSS superfan."
}

This creates the basis for the information we’ll need to pull from our bookmarks as well as provides us with our first set of data to pull into our template.

If you’re like me, you want to see the fruits of your labor right away. Let’s get something on the page!

Installing 11ty And Pulling Data Into A Template

Since we want the bookmarks to be rendered in HTML and not fetched by the browser, we’ll need something to do the rendering. There are many great ways of doing it, but for ease and power, I love using the 11ty static site generator.

Since 11ty is a JavaScript static site generator, we can install it via NPM.

npm install --save @11ty/eleventy

From that installation, we can run eleventy or eleventy --serve in our project to get up and running.

Netlify Dev will often detect 11ty as a requirement and run the command for us. To have this work – and make sure we’re ready to deploy, we can also create “serve” and “build” commands in our package.json.

"scripts": {
    "build": "npx eleventy",
    "serve": "npx eleventy --serve"
  }

11ty’s Data Files

Most static site generators have an idea of a “data file” built-in. Usually, these files will be JSON or YAML files that allow you to add extra information to your site.

In 11ty, you can use JSON data files or JavaScript data files. By utilizing a JavaScript file, we can actually make our API calls and return the data directly into a template.

By default, 11ty wants data files stored in a _data directory. You can then access the data by using the file name as a variable in your templates. In our case, we’ll create a file at _data/bookmarks.js and access that via the {{ bookmarks }} variable name.

If you want to dig deeper into data file configuration, you can read through examples in the 11ty documentation or check out this tutorial on using 11ty data files with the Meetup API.

The file will be a JavaScript module. So in order to have anything work, we need to export either our data or a function. In our case, we’ll export a function.

module.exports = async function() {  
    const data = mapBookmarks(await getBookmarks());  

    return data.reverse()  
}

Let’s break that down. We have two functions doing our main work here: mapBookmarks() and getBookmarks()

The getBookmarks() function will go fetch our data from our FaunaDB database and mapBookmarks() will take an array of bookmarks and restructure it to work better for our template.

Let’s dig deeper into getBookmarks().

getBookmarks()

First, we’ll need to install and initialize an instance of the FaunaDB JavaScript driver.

npm install --save faunadb

Now that we’ve installed it, let’s add it to the top of our data file. This code is straight from Fauna’s docs.

// Requires the Fauna module and sets up the query module, which we can use to create custom queries.
const faunadb = require('faunadb'),  
      q = faunadb.query;

// Once required, we need a new instance with our secret
var adminClient = new faunadb.Client({  
   secret: process.env.FAUNADB_SERVER_SECRET  
});

After that, we can create our function. We’ll start by building our first query using built-in methods on the driver. This first bit of code will return the database references we can use to get full data for all of our bookmarked links. We use the Paginate method, as a helper to manage cursor state should we decide to paginate the data before handing it to 11ty. In our case, we’ll just return all the references.

In this example, I’m assuming you installed and connected FaunaDB via the Netlify Dev CLI. Using this process, you get local environment variables of the FaunaDB secrets. If you didn’t install it this way or aren’t running netlify dev in your project, you’ll need a package like dotenv to create the environment variables. You’ll also need to add your environment variables to your Netlify site configuration to make deploys work later.

adminClient.query(q.Paginate(  
       q.Match( // Match the reference below
           q.Ref("indexes/all_links") // Reference to match, in this case, our all_links index  
       )  
   ))  
   .then( response => { ... })

This code will return an array of all of our links in reference form. We can now build a query list to send to our database.

adminClient.query(...)
    .then((response) => {  
        const linkRefs = response.data; // Get just the references for the links from the response 
        const getAllLinksDataQuery = linkRefs.map((ref) => {  
        return q.Get(ref) // Return a Get query based on the reference passed in  
   })  

return adminClient.query(getAllLinksDataQuery).then(ret => {  
    return ret // Return an array of all the links with full data  
       })  
   }).catch(...)

From here, we just need to clean up the data returned. That’s where mapBookmarks() comes in!

mapBookmarks()

In this function, we deal with two aspects of the data.

First, we get a free dateTime in FaunaDB. For any data created, there’s a timestamp (ts) property. It’s not formatted in a way that makes Liquid’s default date filter happy, so let’s fix that.

function mapBookmarks(data) {
    return data.map(bookmark => {
        const dateTime = new Date(bookmark.ts / 1000);
        ...
    })
}

With that out of the way, we can build a new object for our data. In this case, it will have a time property, and we’ll use the Spread operator to destructure our data object to make them all live at one level.

function mapBookmarks(data) {
    return data.map(bookmark => {
        const dateTime = new Date(bookmark.ts / 1000);

        return { time: dateTime, ...bookmark.data }
    })
}

Here’s our data before our function:

{ 
  ref: Ref(Collection("links"), "244778237839802888"),
  ts: 1569697568650000,
  
  data: { 
    url: 'https://sample.com',
    pageTitle: 'Sample title',
    description: 'An escaped description goes here' 
  } 
}

Here’s our data after our function:

{
    time: 1569697568650,
    url: 'https://sample.com',
    pageTitle: 'Sample title'
    description: 'An escaped description goes here'
}

Now, we’ve got well-formatted data that’s ready for our template!

Let’s write a simple template. We’ll loop through our bookmarks and validate that each has a pageTitle and a url so we don’t look silly.

{% for link in bookmarks %} {% if link.url and link.pageTitle %} // confirms there’s both title AND url for safety

{{ link.pageTitle }}

Saved on {{ link.time | date: "%b %d, %Y" }}

{% if link.description != "" %}

{{ link.description }}

{% endif %}
{% endif %} {% endfor %}

We’re now ingesting and displaying data from FaunaDB. Let’s take a moment and think about how nice it is that this renders out pure HTML and there’s no need to fetch data on the client side!

But that’s not really enough to make this a useful app for us. Let’s figure out a better way than adding a bookmark in the FaunaDB console.

Enter Netlify Functions

Netlify’s Functions add-on is one of the easier ways to deploy AWS lambda functions. Since there’s no configuration step, it’s perfect for DIY projects where you just want to write the code.

This function will live at a URL in your project that looks like this: https://myproject.com/.netlify/functions/bookmarks assuming the file we create in our functions folder is bookmarks.js.

Basic Flow

  1. Pass a URL as a query parameter to our function URL.
  2. Use the function to load the URL and scrape the page’s title and description if available.
  3. Format the details for FaunaDB.
  4. Push the details to our FaunaDB Collection.
  5. Rebuild the site.

Requirements

We’ve got a few packages we’ll need as we build this out. We’ll use the netlify-lambda CLI to build our functions locally. request-promise is the package we’ll use for making requests. Cheerio.js is the package we’ll use to scrape specific items from our requested page (think jQuery for Node). And finally, we’ll need FaunaDb (which should already be installed.

npm install --save netlify-lambda request-promise cheerio

Once that’s installed, let’s configure our project to build and serve the functions locally.

We’ll modify our “build” and “serve” scripts in our package.json to look like this:

"scripts": {
    "build": "npx netlify-lambda build lambda --config ./webpack.functions.js && npx eleventy",
    "serve": "npx netlify-lambda build lambda --config ./webpack.functions.js && npx eleventy --serve"
}

Warning: There’s an error with Fauna’s NodeJS driver when compiling with Webpack, which Netlify’s Functions use to build. To get around this, we need to define a configuration file for Webpack. You can save the following code to a newor existingwebpack.config.js.

const webpack = require('webpack');

module.exports = {
  plugins: [ new webpack.DefinePlugin({ "global.GENTLY": false }) ]
};

Once this file exists, when we use the netlify-lambda command, we’ll need to tell it to run from this configuration. This is why our “serve” and “build scripts use the --config value for that command.

Function Housekeeping

In order to keep our main Function file as clean as possible, we’ll create our functions in a separate bookmarks directory and import them into our main Function file.

import { getDetails, saveBookmark } from "./bookmarks/create";

getDetails(url)

The getDetails() function will take a URL, passed in from our exported handler. From there, we’ll reach out to the site at that URL and grab relevant parts of the page to store as data for our bookmark.

We start by requiring the NPM packages we need:

const rp = require('request-promise');  
const cheerio = require('cheerio');

Then, we’ll use the request-promise module to return an HTML string for the requested page and pass that into cheerio to give us a very jQuery-esque interface.

const getDetails = async function(url) {  
    const data = rp(url).then(function(htmlString) {  
        const $ = cheerio.load(htmlString);  
        ...  
}

From here, we need to get the page title and a meta description. To do that, we’ll use selectors like you would in jQuery. 

Note: In this code, we use 'head > title' as the selector to get the title of the page. If you don’t specify this, you may end up getting </code> <em>tags inside of all SVGs on the page, which is less than ideal.</em></p> <div class="break-out"> <pre><code class="language-javascript">const getDetails = async function(url) { const data = rp(url).then(function(htmlString) { const $ = cheerio.load(htmlString); const title = $('head > title').text(); // Get the text inside the tag const description = $('meta[name="description"]').attr('content'); // Get the text of the content attribute // Return out the data in the structure we expect return { pageTitle: title, description: description }; }); return data //return to our main function }</code></pre> </div> <p>With data in hand, it’s time to send our bookmark off to our Collection in FaunaDB!</p> <h4 id="savebookmark-details"><code>saveBookmark(details)</code></h4> <p>For our save function, we’ll want to pass the details we acquired from <code>getDetails</code> as well as the URL as a singular object. The Spread operator strikes again!</p> <pre><code class="language-javascript">const savedResponse = await saveBookmark({url, ...details});</code></pre> <p>In our <code>create.js</code> file, we also need to require and setup our FaunaDB driver. This should look very familiar from our 11ty data file.</p> <pre><code class="language-javascript">const faunadb = require('faunadb'), q = faunadb.query; const adminClient = new faunadb.Client({ secret: process.env.FAUNADB_SERVER_SECRET }); </code></pre> <p>Once we’ve got that out of the way, we can code.</p> <div class="sponsors__lead-place"></div> <p>First, we need to format our details into a data structure that Fauna is expecting for our query. Fauna expects an object with a data property containing the data we wish to store.</p> <pre><code class="language-javascript">const saveBookmark = async function(details) { const data = {    data: details }; ... }</code></pre> <p>Then we’ll open a new query to add to our Collection. In this case, we’ll use our query helper and use the Create method. Create() takes two arguments. First is the Collection in which we want to store our data and the second is the data itself.</p> <p>After we save, we return either success or failure to our handler.</p> <div class="break-out"> <pre><code class="language-javascript">const saveBookmark = async function(details) { const data = { data: details }; return adminClient.query(q.Create(q.Collection("links"), data)) .then((response) => { /* Success! return the response with statusCode 200 */ return { statusCode: 200, body: JSON.stringify(response) } }).catch((error) => { /* Error! return the error with statusCode 400 */ return { statusCode: 400, body: JSON.stringify(error) } }) }</code></pre> </div> <p>Let’s take a look at the full Function file.</p> <div class="break-out"> <pre><code class="language-javascript">import { getDetails, saveBookmark } from "./bookmarks/create"; import { rebuildSite } from "./utilities/rebuild"; // For rebuilding the site (more on that in a minute) exports.handler = async function(event, context) { try { const url = event.queryStringParameters.url; // Grab the URL const details = await getDetails(url); // Get the details of the page const savedResponse = await saveBookmark({url, ...details}); //Save the URL and the details to Fauna if (savedResponse.statusCode === 200) { // If successful, return success and trigger a Netlify build await rebuildSite(); return { statusCode: 200, body: savedResponse.body } } else { return savedResponse //or else return the error } } catch (err) { return { statusCode: 500, body: `Error: ${err}` }; } }; </code></pre> </div> <h4 id="rebuildsite"><code>rebuildSite()</code></h4> <p>The discerning eye will notice that we have one more function imported into our handler: <code>rebuildSite()</code>. This function will use Netlify’s Deploy Hook functionality to rebuild our site from the new data every time we submit a new — successful — bookmark save.</p> <p>In your site’s settings in Netlify, you can access your Build & Deploy settings and create a new “Build Hook.” Hooks have a name that appears in the Deploy section and an option for a non-master branch to deploy if you so wish. In our case, we’ll name it “new_link” and deploy our master branch.</p> <figure class=" break-out article__image "><a href="https://cloud.netlifyusercontent.com/assets/344dbf88-fdf9-42bb-adb4-46f01eedd629/58bf7a4f-3248-4227-bb3c-0c2a6ed96d69/bookmarking-application-faunadb-netlify-11ty-netlify-build-hook.png"></p> <p> <img decoding="async" srcset="http://topfeatured.com/wp-content/uploads/2019/10/bookmarking-application-faunadb-netlify-11ty-netlify-build-hook.png 400w, https://res.cloudinary.com/indysigner/image/fetch/f_auto,q_auto/w_800/https://cloud.netlifyusercontent.com/assets/344dbf88-fdf9-42bb-adb4-46f01eedd629/58bf7a4f-3248-4227-bb3c-0c2a6ed96d69/bookmarking-application-faunadb-netlify-11ty-netlify-build-hook.png 800w, https://res.cloudinary.com/indysigner/image/fetch/f_auto,q_auto/w_1200/https://cloud.netlifyusercontent.com/assets/344dbf88-fdf9-42bb-adb4-46f01eedd629/58bf7a4f-3248-4227-bb3c-0c2a6ed96d69/bookmarking-application-faunadb-netlify-11ty-netlify-build-hook.png 1200w, https://res.cloudinary.com/indysigner/image/fetch/f_auto,q_auto/w_1600/https://cloud.netlifyusercontent.com/assets/344dbf88-fdf9-42bb-adb4-46f01eedd629/58bf7a4f-3248-4227-bb3c-0c2a6ed96d69/bookmarking-application-faunadb-netlify-11ty-netlify-build-hook.png 1600w, https://res.cloudinary.com/indysigner/image/fetch/f_auto,q_auto/w_2000/https://cloud.netlifyusercontent.com/assets/344dbf88-fdf9-42bb-adb4-46f01eedd629/58bf7a4f-3248-4227-bb3c-0c2a6ed96d69/bookmarking-application-faunadb-netlify-11ty-netlify-build-hook.png 2000w" src="http://topfeatured.com/wp-content/uploads/2019/10/bookmarking-application-faunadb-netlify-11ty-netlify-build-hook.png" sizes="100vw" alt="A visual reference for the Netlify Admin’s build hook setup"></a><figcaption class="op-vertical-bottom"> A visual reference for the Netlify Admin’s build hook setup (<a href="https://cloud.netlifyusercontent.com/assets/344dbf88-fdf9-42bb-adb4-46f01eedd629/58bf7a4f-3248-4227-bb3c-0c2a6ed96d69/bookmarking-application-faunadb-netlify-11ty-netlify-build-hook.png">Large preview</a>)<br /> </figcaption></figure> <p>From there, we just need to send a POST request to the URL provided.</p> <p>We need a way of making requests and since we’ve already installed <code>request-promise</code>, we’ll continue to use that package by requiring it at the top of our file.</p> <div class="break-out"> <pre><code class="language-javascript">const rp = require('request-promise'); const rebuildSite = async function() { var options = { method: 'POST', uri: 'https://api.netlify.com/build_hooks/5d7fa6175504dfd43377688c', body: {}, json: true }; const returned = await rp(options).then(function(res) { console.log('Successfully hit webhook', res); }).catch(function(err) { console.log('Error:', err); }); return returned } </code></pre> </div> <figure class="video-container break-out"><iframe data-src="https://player.vimeo.com/video/368119408" width="600" height="480" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe><figcaption>A demo of the Netlify Function setup and the iOS Shortcut setup combined</figcaption></figure> <h3 id="setting-up-an-ios-shortcut">Setting Up An iOS Shortcut</h3> <p>So, we have a database, a way to display data and a function to add data, but we’re still not very user-friendly.</p> <p>Netlify provides URLs for our Lambda functions, but they’re not fun to type into a mobile device. We’d also have to pass a URL as a query parameter into it. That’s a LOT of effort. How can we make this as little effort as possible?</p> <figure class=" "><a href="https://cloud.netlifyusercontent.com/assets/344dbf88-fdf9-42bb-adb4-46f01eedd629/d68438f8-23dc-4253-b34c-bce3428ade47/bookmarking-application-faunadb-netlify-11ty-ios-shortcuts-image.png"></p> <p> <img decoding="async" srcset="http://topfeatured.com/wp-content/uploads/2019/10/bookmarking-application-faunadb-netlify-11ty-ios-shortcuts-image.png 400w, https://res.cloudinary.com/indysigner/image/fetch/f_auto,q_auto/w_800/https://cloud.netlifyusercontent.com/assets/344dbf88-fdf9-42bb-adb4-46f01eedd629/d68438f8-23dc-4253-b34c-bce3428ade47/bookmarking-application-faunadb-netlify-11ty-ios-shortcuts-image.png 800w, https://res.cloudinary.com/indysigner/image/fetch/f_auto,q_auto/w_1200/https://cloud.netlifyusercontent.com/assets/344dbf88-fdf9-42bb-adb4-46f01eedd629/d68438f8-23dc-4253-b34c-bce3428ade47/bookmarking-application-faunadb-netlify-11ty-ios-shortcuts-image.png 1200w, https://res.cloudinary.com/indysigner/image/fetch/f_auto,q_auto/w_1600/https://cloud.netlifyusercontent.com/assets/344dbf88-fdf9-42bb-adb4-46f01eedd629/d68438f8-23dc-4253-b34c-bce3428ade47/bookmarking-application-faunadb-netlify-11ty-ios-shortcuts-image.png 1600w, https://res.cloudinary.com/indysigner/image/fetch/f_auto,q_auto/w_2000/https://cloud.netlifyusercontent.com/assets/344dbf88-fdf9-42bb-adb4-46f01eedd629/d68438f8-23dc-4253-b34c-bce3428ade47/bookmarking-application-faunadb-netlify-11ty-ios-shortcuts-image.png 2000w" src="http://topfeatured.com/wp-content/uploads/2019/10/bookmarking-application-faunadb-netlify-11ty-ios-shortcuts-image.png" sizes="100vw" alt="A visual reference for the setup for our Shortcut functionality"></a><figcaption class="op-vertical-bottom"> A visual reference for the setup for our Shortcut functionality (<a href="https://cloud.netlifyusercontent.com/assets/344dbf88-fdf9-42bb-adb4-46f01eedd629/d68438f8-23dc-4253-b34c-bce3428ade47/bookmarking-application-faunadb-netlify-11ty-ios-shortcuts-image.png">Large preview</a>)<br /> </figcaption></figure> <p>Apple’s Shortcuts app allows the building of custom items to go into your share sheet. Inside these shortcuts, we can send various types of requests of data collected in the share process.</p> <p>Here’s the step-by-step Shortcut:</p> <ol> <li>Accept any items and store that item in a “text” block.</li> <li>Pass that text into a “Scripting” block to URL encode (just in case).</li> <li>Pass that string into a URL block with our Netlify Function’s URL and a query parameter of <code>url</code>.</li> <li>From “Network” use a “Get contents” block to POST to JSON to our URL.</li> <li>Optional: From “Scripting” “Show” the contents of the last step (to confirm the data we’re sending).</li> </ol> <p>To access this from the sharing menu, we open up the settings for this Shortcut and toggle on the “Show in Share Sheet” option.</p> <p>As of iOS13, these share “Actions” are able to be favorited and moved to a high position in the dialog.</p> <p>We now have a working “app” for sharing bookmarks across multiple platforms!</p> <h3 id="go-the-extra-mile">Go The Extra Mile!</h3> <p>If you’re inspired to try this yourself, there are a lot of other possibilities to add functionality. The joy of the DIY web is that you can make these sorts of applications work for you. Here are a few ideas:</p> <ol> <li>Use a faux “API key” for quick authentication, so other users don’t post to your site (mine uses an API key, so don’t try to post to it!).</li> <li>Add tag functionality to organize bookmarks.</li> <li>Add an RSS feed for your site so that others can subscribe.</li> <li>Send out a weekly roundup email programmatically for links that you’ve added.</li> </ol> <p>Really, the sky is the limit, so start experimenting!</p> <div class="signature"> <img decoding="async" src="http://topfeatured.com/wp-content/uploads/2019/10/logo-red-3.png" alt="Smashing Editorial"><span>(dm, yk)</span> </div> </article> </div> <a href="https://topfeatured.com/send-press-releases/">Press Release Distribution Service</a> <div class="navigation"></div> </div> <div class="meta-data"> <p class="cat-link">Category: <a href="https://topfeatured.com/category/news/" rel="category tag">News</a><i id="sep"> | </i> <br><span class="authorlinks"><a href="http://topfeatured.com"><a href="http://TopFeatured.com" title="Visit Top Featured Content’s website" rel="author external">Top Featured Content</a>">Top Featured Content</a> <span class="date">October 25, 2019</span> @ 1:01 am </span> <span class="edit-link"></p> </div> </article><!-- ends article-entry --> </div><!-- ends post id --> <div class="responses"> </div> <div class='code-block code-block-4' style='margin: 8px 0; clear: both;'> <span style="color: #000000;">Feature your business, services, products, events & news. <a href="https://topfeatured.com/near-me/top-featured-business-listings/"><span style="color: #ff0000;">Submit Website</span></a>.</span><br /></span></strong></p> <center><script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <ins class="adsbygoogle" style="display:block" data-ad-format="autorelaxed" data-ad-client="ca-pub-8365375371343403" data-ad-slot="6921328502"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script></center> </div> <div class="navigation"> <p><span class="alignleft"> « <a href="https://topfeatured.com/2019/10/25/superb-large-cased-english-antique-1902-sterling-silver-mounted-conductors-baton/" rel="prev">SUPERB LARGE CASED ENGLISH ANTIQUE 1902 STERLING SILVER MOUNTED CONDUCTORS BATON</a></span><span class="alignright"><a href="https://topfeatured.com/2019/10/25/the-cinematographer-for-joker-confirmed-what-happened-to-sophie-so-now-i-feel-better/" rel="next">The Cinematographer For “Joker” Confirmed What Happened To Sophie, So Now I Feel Better</a> »</span></p> </div> </article> <div class="c4 end"> <div id="primary-sidebar" class="primary-sidebar widget-area" role="complementary"> <div id="custom_html-5" class="widget_text widget widget_custom_html"><h3 class="widgettitle">Search TopFeatured.com</h3><div class="textwidget custom-html-widget"><script async src="https://cse.google.com/cse.js?cx=40812e90dc98d7e97"></script> <div class="gcse-search"></div></div></div><div id="custom_html-2" class="widget_text widget widget_custom_html"><div class="textwidget custom-html-widget"><script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <!-- TopFeatured*5 --> <ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-8365375371343403" data-ad-slot="1740256617" data-ad-format="auto" data-full-width-responsive="true"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> </div></div><div id="simpletags-2" class="widget widget-simpletags"><h3 class="widgettitle">Top Featured Tag Cloud</h3> <!-- Generated by TaxoPress 3.13.0 - https://wordpress.org/plugins/simple-tags/ --> <div class="taxopress-output-wrapper"> <div class="st-tag-cloud"> <a href="https://topfeatured.com/tag/alabama-news/" id="tag-link-156" class="st-tags t4" title="5008 topics" style="font-size:15.2pt; color:#00008e;">- Alabama News</a> <a href="https://topfeatured.com/tag/alaska-news/" id="tag-link-160" class="st-tags t2" title="3092 topics" style="font-size:13.6pt; color:#0000be;">- Alaska News</a> <a href="https://topfeatured.com/tag/arizona-news/" id="tag-link-189" class="st-tags t0" title="622 topics" style="font-size:12pt; color:#0000ee;">- Arizona News</a> <a href="https://topfeatured.com/tag/arkansas-news/" id="tag-link-157" class="st-tags t4" title="4960 topics" style="font-size:15.2pt; color:#00008e;">- Arkansas News</a> <a href="https://topfeatured.com/tag/business/" id="tag-link-63" class="st-tags t10" title="12144 topics" style="font-size:20pt; color:#000000;">- Business</a> <a href="https://topfeatured.com/tag/california-news/" id="tag-link-191" class="st-tags t9" title="11916 topics" style="font-size:19.2pt; color:#000017;">- California News</a> <a href="https://topfeatured.com/tag/colorado-news/" id="tag-link-167" class="st-tags t1" title="1825 topics" style="font-size:12.8pt; color:#0000d6;">- Colorado News</a> <a href="https://topfeatured.com/tag/connecticut-news/" id="tag-link-153" class="st-tags t8" title="9779 topics" style="font-size:18.4pt; color:#00002f;">- Connecticut News</a> <a href="https://topfeatured.com/tag/coronavirus/" id="tag-link-194" class="st-tags t0" title="8 topics" style="font-size:12pt; color:#0000ee;">- Coronavirus</a> <a href="https://topfeatured.com/tag/delaware-news/" id="tag-link-184" class="st-tags t2" title="3496 topics" style="font-size:13.6pt; color:#0000be;">- Delaware News</a> <a href="https://topfeatured.com/tag/diy/" id="tag-link-203" class="st-tags t0" title="278 topics" style="font-size:12pt; color:#0000ee;">- DIY</a> <a href="https://topfeatured.com/tag/flights/" id="tag-link-200" class="st-tags t0" title="1 topics" style="font-size:12pt; color:#0000ee;">- Flights</a> <a href="https://topfeatured.com/tag/florida-news/" id="tag-link-181" class="st-tags t0" title="31 topics" style="font-size:12pt; color:#0000ee;">- Florida News</a> <a href="https://topfeatured.com/tag/food/" id="tag-link-204" class="st-tags t0" title="796 topics" style="font-size:12pt; color:#0000ee;">- Food</a> <a href="https://topfeatured.com/tag/georgia-news/" id="tag-link-155" class="st-tags t0" title="450 topics" style="font-size:12pt; color:#0000ee;">- Georgia News</a> <a href="https://topfeatured.com/tag/hawaii-news/" id="tag-link-175" class="st-tags t3" title="4803 topics" style="font-size:14.4pt; color:#0000a6;">- Hawaii News</a> <a href="https://topfeatured.com/tag/history/" id="tag-link-195" class="st-tags t0" title="1 topics" style="font-size:12pt; color:#0000ee;">- History</a> <a href="https://topfeatured.com/tag/idaho-news/" id="tag-link-192" class="st-tags t1" title="2092 topics" style="font-size:12.8pt; color:#0000d6;">- Idaho News</a> <a href="https://topfeatured.com/tag/illinois-news/" id="tag-link-178" class="st-tags t4" title="4867 topics" style="font-size:15.2pt; color:#00008e;">- Illinois News</a> <a href="https://topfeatured.com/tag/indiana-news/" id="tag-link-168" class="st-tags t2" title="2481 topics" style="font-size:13.6pt; color:#0000be;">- Indiana News</a> <a href="https://topfeatured.com/tag/iowa-news/" id="tag-link-158" class="st-tags t3" title="4423 topics" style="font-size:14.4pt; color:#0000a6;">- Iowa News</a> <a href="https://topfeatured.com/tag/kansas-news/" id="tag-link-179" class="st-tags t2" title="2958 topics" style="font-size:13.6pt; color:#0000be;">- Kansas News</a> <a href="https://topfeatured.com/tag/kentucky-news/" id="tag-link-180" class="st-tags t2" title="3531 topics" style="font-size:13.6pt; color:#0000be;">- Kentucky News</a> <a href="https://topfeatured.com/tag/louisiana-news/" id="tag-link-161" class="st-tags t4" title="4967 topics" style="font-size:15.2pt; color:#00008e;">- Louisiana News</a> <a href="https://topfeatured.com/tag/maryland-news/" id="tag-link-172" class="st-tags t4" title="4885 topics" style="font-size:15.2pt; color:#00008e;">- Maryland News</a> <a href="https://topfeatured.com/tag/massachusetts-news/" id="tag-link-154" class="st-tags t4" title="5031 topics" style="font-size:15.2pt; color:#00008e;">- Massachusetts News</a> <a href="https://topfeatured.com/tag/michigan-news/" id="tag-link-171" class="st-tags t6" title="8045 topics" style="font-size:16.8pt; color:#00005f;">- Michigan News</a> <a href="https://topfeatured.com/tag/minnesota-news/" id="tag-link-183" class="st-tags t0" title="306 topics" style="font-size:12pt; color:#0000ee;">- Minnesota News</a> <a href="https://topfeatured.com/tag/mississippi-news/" id="tag-link-152" class="st-tags t7" title="8637 topics" style="font-size:17.6pt; color:#000047;">- Mississippi News</a> <a href="https://topfeatured.com/tag/missouri-news/" id="tag-link-164" class="st-tags t4" title="4898 topics" style="font-size:15.2pt; color:#00008e;">- Missouri News</a> <a href="https://topfeatured.com/tag/montana-news/" id="tag-link-150" class="st-tags t3" title="4406 topics" style="font-size:14.4pt; color:#0000a6;">- Montana News</a> <a href="https://topfeatured.com/tag/nebraska-news/" id="tag-link-162" class="st-tags t2" title="3364 topics" style="font-size:13.6pt; color:#0000be;">- Nebraska News</a> <a href="https://topfeatured.com/tag/nevada-news/" id="tag-link-190" class="st-tags t4" title="5554 topics" style="font-size:15.2pt; color:#00008e;">- Nevada News</a> <a href="https://topfeatured.com/tag/new-hampshire-news/" id="tag-link-149" class="st-tags t0" title="309 topics" style="font-size:12pt; color:#0000ee;">- New Hampshire News</a> <a href="https://topfeatured.com/tag/new-jersey-news/" id="tag-link-159" class="st-tags t1" title="1726 topics" style="font-size:12.8pt; color:#0000d6;">- New Jersey News</a> <a href="https://topfeatured.com/tag/new-mexico-news/" id="tag-link-174" class="st-tags t4" title="4878 topics" style="font-size:15.2pt; color:#00008e;">- New Mexico News</a> <a href="https://topfeatured.com/tag/new-york-news/" id="tag-link-205" class="st-tags t0" title="3 topics" style="font-size:12pt; color:#0000ee;">- New York News</a> <a href="https://topfeatured.com/tag/north-carolina-news/" id="tag-link-169" class="st-tags t4" title="4886 topics" style="font-size:15.2pt; color:#00008e;">- North Carolina News</a> <a href="https://topfeatured.com/tag/north-dakota-news/" id="tag-link-147" class="st-tags t0" title="422 topics" style="font-size:12pt; color:#0000ee;">- North Dakota News</a> <a href="https://topfeatured.com/tag/ohio-news/" id="tag-link-170" class="st-tags t0" title="213 topics" style="font-size:12pt; color:#0000ee;">- Ohio News</a> <a href="https://topfeatured.com/tag/oregon-news/" id="tag-link-185" class="st-tags t3" title="4641 topics" style="font-size:14.4pt; color:#0000a6;">- Oregon News</a> <a href="https://topfeatured.com/tag/philadelphia-news/" id="tag-link-177" class="st-tags t3" title="4628 topics" style="font-size:14.4pt; color:#0000a6;">- Philadelphia News</a> <a href="https://topfeatured.com/tag/politics/" id="tag-link-143" class="st-tags t4" title="5171 topics" style="font-size:15.2pt; color:#00008e;">- Politics</a> <a href="https://topfeatured.com/tag/protests/" id="tag-link-196" class="st-tags t0" title="19 topics" style="font-size:12pt; color:#0000ee;">- Protests</a> <a href="https://topfeatured.com/tag/rhode-island-news/" id="tag-link-148" class="st-tags t0" title="306 topics" style="font-size:12pt; color:#0000ee;">- Rhode Island News</a> <a href="https://topfeatured.com/tag/rioting/" id="tag-link-197" class="st-tags t0" title="14 topics" style="font-size:12pt; color:#0000ee;">- Rioting</a> <a href="https://topfeatured.com/tag/south-dakota-news/" id="tag-link-151" class="st-tags t0" title="468 topics" style="font-size:12pt; color:#0000ee;">- South Dakota News</a> <a href="https://topfeatured.com/tag/tennessee-news/" id="tag-link-165" class="st-tags t2" title="3572 topics" style="font-size:13.6pt; color:#0000be;">- Tennessee News</a> <a href="https://topfeatured.com/tag/texas-news/" id="tag-link-176" class="st-tags t7" title="9009 topics" style="font-size:17.6pt; color:#000047;">- Texas News</a> <a href="https://topfeatured.com/tag/travel/" id="tag-link-199" class="st-tags t0" title="1 topics" style="font-size:12pt; color:#0000ee;">- Travel</a> <a href="https://topfeatured.com/tag/utah-news/" id="tag-link-187" class="st-tags t0" title="343 topics" style="font-size:12pt; color:#0000ee;">- Utah News</a> <a href="https://topfeatured.com/tag/vermont-news/" id="tag-link-146" class="st-tags t7" title="8561 topics" style="font-size:17.6pt; color:#000047;">- Vermont News</a> <a href="https://topfeatured.com/tag/virginia-news/" id="tag-link-163" class="st-tags t4" title="4920 topics" style="font-size:15.2pt; color:#00008e;">- Virginia News</a> <a href="https://topfeatured.com/tag/washington-dc-news/" id="tag-link-166" class="st-tags t4" title="4894 topics" style="font-size:15.2pt; color:#00008e;">- Washington DC News</a> <a href="https://topfeatured.com/tag/washington-news/" id="tag-link-182" class="st-tags t7" title="9097 topics" style="font-size:17.6pt; color:#000047;">- Washington News</a> <a href="https://topfeatured.com/tag/west-virginia/" id="tag-link-145" class="st-tags t0" title="212 topics" style="font-size:12pt; color:#0000ee;">- West Virginia News</a> <a href="https://topfeatured.com/tag/wisconsin-news/" id="tag-link-173" class="st-tags t2" title="3526 topics" style="font-size:13.6pt; color:#0000be;">- Wisconsin News</a> <a href="https://topfeatured.com/tag/world-news/" id="tag-link-142" class="st-tags t8" title="10218 topics" style="font-size:18.4pt; color:#00002f;">- World News</a> <a href="https://topfeatured.com/tag/wyoming-news/" id="tag-link-144" class="st-tags t3" title="4062 topics" style="font-size:14.4pt; color:#0000a6;">- Wyoming News</a> <a href="https://topfeatured.com/tag/crypto-currency/" id="tag-link-207" class="st-tags t0" title="471 topics" style="font-size:12pt; color:#0000ee;">Crypto Currency</a> </div> </div> </div><div id="gs-posts-widget-5" class="widget widget_gspw_posts"><h3 class="widgettitle">Top Featured Business News</h3> <div class="gspw-posts grid-01"> <article class="post-1362124 post type-post status-publish format-standard has-post-thumbnail hentry category-business category-news tag-business"> <header> <div class="entry-image"> <a href="https://topfeatured.com/2024/11/17/your-income-statement-guide-examples-advice-and-definitions/" rel="bookmark"> <img width="420" height="420" src="https://topfeatured.com/wp-content/uploads/2024/11/HV-Your-Income-Statement-Guide-Examples-Guidance-and-Definitions-420x420.png" class="attachment-gs-square-thumb size-gs-square-thumb wp-post-image" alt="" decoding="async" loading="lazy" srcset="https://topfeatured.com/wp-content/uploads/2024/11/HV-Your-Income-Statement-Guide-Examples-Guidance-and-Definitions-420x420.png 420w, https://topfeatured.com/wp-content/uploads/2024/11/HV-Your-Income-Statement-Guide-Examples-Guidance-and-Definitions-150x150.png 150w" sizes="(max-width: 420px) 100vw, 420px" /> </a> </div> <h4 class="entry-title"> <a href="https://topfeatured.com/2024/11/17/your-income-statement-guide-examples-advice-and-definitions/" rel="bookmark">Your Income Statement Guide: Examples, Advice and Definitions</a> </h4> </header> <section> </section> <footer> </footer> </article> <article class="post-1362123 post type-post status-publish format-standard hentry category-business category-news tag-business"> <header> <h4 class="entry-title"> <a href="https://topfeatured.com/2024/11/17/in-the-news-what-city-has-the-most-forgetful-uber-passengers/" rel="bookmark">In the News: What City Has the Most Forgetful Uber Passengers?</a> </h4> </header> <section> </section> <footer> </footer> </article> <article class="post-1362122 post type-post status-publish format-standard hentry category-business category-news tag-business"> <header> <h4 class="entry-title"> <a href="https://topfeatured.com/2024/11/17/new-york-business-owner-pleads-guilty-to-employment-tax-fraud/" rel="bookmark">New York Business Owner Pleads Guilty to Employment Tax Fraud</a> </h4> </header> <section> </section> <footer> </footer> </article> </div> </div><div id="custom_html-6" class="widget_text widget widget_custom_html"><div class="textwidget custom-html-widget"><script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <!-- TopFeatured*5 --> <ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-8365375371343403" data-ad-slot="1740256617" data-ad-format="auto" data-full-width-responsive="true"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script></div></div><div id="gs-posts-widget-2" class="widget widget_gspw_posts"><h3 class="widgettitle">Featured Entertainment News</h3> <div class="gspw-posts grid-01"> <article class="post-1328047 post type-post status-publish format-standard hentry category-entertainment category-news"> <header> <h4 class="entry-title"> <a href="https://topfeatured.com/2024/03/26/contemporary-music-landscape-2024/" rel="bookmark">Contemporary Music Landscape (2024) – The year 2024 brings forth a fresh wave of musical creativity, with artists weaving sonic tapestries…</a> </h4> </header> <section> </section> <footer> </footer> </article> <article class="post-1327880 post type-post status-publish format-standard hentry category-entertainment category-movies"> <header> <h4 class="entry-title"> <a href="https://topfeatured.com/2024/03/25/movie-releases/" rel="bookmark">Recent New Movies – Film Releases</a> </h4> </header> <section> </section> <footer> </footer> </article> <article class="post-1323848 post type-post status-publish format-standard hentry category-all category-entertainment"> <header> <h4 class="entry-title"> <a href="https://topfeatured.com/2024/02/26/india-seeks-26-bln-of-private-nuclear-power-investments-sources-say/" rel="bookmark">India seeks $26 bln of private nuclear power investments, sources say </a> </h4> </header> <section> </section> <footer> </footer> </article> </div> </div><div id="categories-4" class="widget widget_categories"><h3 class="widgettitle">Categories</h3> <ul> <li class="cat-item cat-item-17"><a href="https://topfeatured.com/category/all/">all</a> </li> <li class="cat-item cat-item-75"><a href="https://topfeatured.com/category/art/">Art</a> </li> <li class="cat-item cat-item-70"><a href="https://topfeatured.com/category/business/">Business</a> </li> <li class="cat-item cat-item-208"><a href="https://topfeatured.com/category/crypto-currency/">Crypto Currency</a> </li> <li class="cat-item cat-item-82"><a href="https://topfeatured.com/category/diy/">DIY</a> </li> <li class="cat-item cat-item-78"><a href="https://topfeatured.com/category/education/">Education</a> </li> <li class="cat-item cat-item-71"><a href="https://topfeatured.com/category/entertainment/">Entertainment</a> </li> <li class="cat-item cat-item-80"><a href="https://topfeatured.com/category/food/">Food</a> </li> <li class="cat-item cat-item-76"><a href="https://topfeatured.com/category/health/">Health</a> </li> <li class="cat-item cat-item-74"><a href="https://topfeatured.com/category/lifestyle/">Lifestyle</a> </li> <li class="cat-item cat-item-69"><a href="https://topfeatured.com/category/money/">Money</a> </li> <li class="cat-item cat-item-140"><a href="https://topfeatured.com/category/movies/">Movies</a> </li> <li class="cat-item cat-item-61"><a href="https://topfeatured.com/category/news/">News</a> </li> <li class="cat-item cat-item-59"><a href="https://topfeatured.com/category/real-estate/">Real Estate</a> </li> <li class="cat-item cat-item-81"><a href="https://topfeatured.com/category/restaurants/">Restaurants</a> </li> <li class="cat-item cat-item-77"><a href="https://topfeatured.com/category/science/">Science</a> </li> <li class="cat-item cat-item-58"><a href="https://topfeatured.com/category/shopping/">Shop</a> </li> <li class="cat-item cat-item-73"><a href="https://topfeatured.com/category/sports/">Sports</a> </li> <li class="cat-item cat-item-72"><a href="https://topfeatured.com/category/technology/">Technology</a> </li> <li class="cat-item cat-item-79"><a href="https://topfeatured.com/category/travel/">Travel</a> </li> <li class="cat-item cat-item-56"><a href="https://topfeatured.com/category/videos-2/">Videos</a> </li> <li class="cat-item cat-item-68"><a href="https://topfeatured.com/category/world-news/">World News</a> </li> </ul> </div><div id="block-2" class="widget widget_block widget_search"><form role="search" method="get" action="https://topfeatured.com/" class="wp-block-search__button-outside wp-block-search__text-button wp-block-search"><label class="wp-block-search__label" for="wp-block-search__input-1" >Search</label><div class="wp-block-search__inside-wrapper " ><input class="wp-block-search__input" id="wp-block-search__input-1" placeholder="" value="" type="search" name="s" required /><button aria-label="Search" class="wp-block-search__button wp-element-button" type="submit" >Search</button></div></form></div> </div><!-- #primary-sidebar --> </div> </section> <footer id="footer" class="row"> <div class="inner-footer"> <section class="c4"> <p>Copyright© 2024 <a href="/"> TopFeatured.com</a></p> <span class="footer-new-text"> The Best Of Everything Since 2012 </span> </section> <section class="c4"> </section> <section class="c4"> </section> </div> </footer> </div> <script type="text/javascript"> jQuery("#post-1362124 .entry-meta .date").css("display","none"); jQuery("#post-1362124 .entry-date").css("display","none"); jQuery("#post-1362124 .posted-on").css("display","none"); jQuery("#post-1362123 .entry-meta .date").css("display","none"); jQuery("#post-1362123 .entry-date").css("display","none"); jQuery("#post-1362123 .posted-on").css("display","none"); jQuery("#post-1362122 .entry-meta .date").css("display","none"); jQuery("#post-1362122 .entry-date").css("display","none"); jQuery("#post-1362122 .posted-on").css("display","none"); jQuery("#post-1328047 .entry-meta .date").css("display","none"); jQuery("#post-1328047 .entry-date").css("display","none"); jQuery("#post-1328047 .posted-on").css("display","none"); jQuery("#post-1327880 .entry-meta .date").css("display","none"); jQuery("#post-1327880 .entry-date").css("display","none"); jQuery("#post-1327880 .posted-on").css("display","none"); jQuery("#post-1323848 .entry-meta .date").css("display","none"); jQuery("#post-1323848 .entry-date").css("display","none"); jQuery("#post-1323848 .posted-on").css("display","none"); </script> </body> </html>