2 Ways to Loop in After Effects

Big thanks to motionarray.com for explaining this:
https://motionarray.com/learn/after-effects/loop-video-animations-after-effects/

1. if your footage is the correct length, you can go to the projects panel right-click the element and select Interpret Footage > Main. in the dialogue box just select how many times you want to repeat it

2. Remapping Effect. Enable time remapping, option+click the stopwatch for time remap, Using the add Menu select Property > loopOutduration

If you need only a portion of your video looped… create a precomp of your footage, then use option 2 on your precomp. Just make sure the precomp is the right length to get the loop to match up correctly.

The loopOutduration command doesn’t seem to indicate where loops begin or end… But you want that on your first frame of the loop. ignore the other keyframes.

Google Sheets Tips

If you like me, really like using Google Sheets, you may find this list of tips on Fast Company helpful.

https://www.fastcompany.com/90334451/27-incredibly-useful-things-you-didnt-know-google-sheets-could-do

I especially liked the following:

13. Perform fast calculations in any number-oriented spreadsheet by highlighting a bunch of cells and then looking in the lower-right corner of the screen. By default, Sheets will show you the sum of the numbers you’ve selected. You can then click the box with that info and tell it to show the average, the minimum or maximum, or the total count of numbers involved–and once you make that change, your selection will stick and remain the new default for any future calculations you perform.

15. Tap into Google’s artificial intelligence and let Sheets perform different types of data analysis and create complex charts for you. Hover your mouse over the starburst-shaped icon in the lower-right corner of the screen, and you’ll see the word “Explore” appear. Click that button, and Sheets will pop up a panel of info related to your data. You can highlight specific rows in your spreadsheet to change its focus, and you can hover over any item it presents to find options for adjusting it or inserting it directly into your sheet.

24. Sheets has the capability to create QR codes that’ll pull up whatever URLs you want when they’re scanned. Type your URL into a cell (with “http://” or “https://” in front of it), then use the following function with your own cell number in place of “A2”:

=image(“https://chart.googleapis.com/chart?chs=150×150&cht=qr&chl=”&A2)

The QR code will instantly appear and be available to copy, share, or manipulate in any way your heart desires.

25. Here’s a handy little Sheets function for tracking trends across numerical data: Create a heat map to highlight highs and lows and make it easy to see things like sales or web-traffic success patterns. Select whatever range of data you want, then look for the “Conditional formatting” option within the Format menu. Click the “Color scale” tab at the top and assign a color to both “Min value” and “Max value.” The effect will work best if you use a light version of a color for the former and a dark version of the same color for the latter.

27. Ever find yourself scrolling through a list of responses in different languages? Sheets can identify any language used in a spreadsheet and even translate it into your own native tongue on the spot. To detect a language, use the following function (with the appropriate cell number in place of “A1”):

=DETECTLANGUAGE(A1)

You can also enter in a word in place of a cell number, if you want:

=DETECTLANGUAGE(“queso”)

Google will give you a two-letter code telling you the language that was used. To translate, meanwhile, use the following command–with your own word or cell number in place of “A1″ and the code for whatever language you want to translate into (if it’s anything other than English, as referenced below):

=GOOGLETRANSLATE(A1,”auto”,”en”)

Assez facile, non?

The full list:
https://www.fastcompany.com/90334451/27-incredibly-useful-things-you-didnt-know-google-sheets-could-do

Setting HTTPS and www in .htaccess

Find the .htaccess file in the folder where your index.html file is.

This will force anyone who visits your site to go to the HTTPS version of the site (Secure) and with the "www" subdomain. 

By default, many websites show duplicate content without a subdomain i.e. benbrenner.com and with the www subdomain (www.benbrenner.com)

In the last few years Google has begun penalizing sites that allow this because as they are crawling your site, they see duplicate pages.  For you to rank high in google, they want your information to be unique from the rest of the internet. 
# Canonical https/www
<IfModule mod_rewrite.c>
	RewriteCond %{HTTPS} off [OR]
	RewriteCond %{HTTP_HOST} !^www\. [NC]
	RewriteCond %{HTTP_HOST} ^(.*)$  [NC]
	RewriteRule (.*) https://www.%1/$1 [R=301,L]
</IfModule>

This tip comes from https://htaccessbook.com/htaccess-redirect-https-www/

Setting up a Site to Share on Social Media

To get your website to show previews correctly in Twitter, Facebook, and LinkedIn.

You can see how facebook views your page here: https://developers.facebook.com/tools/debug/
and twitter: https://cards-dev.twitter.com/validator
LinkedIn: https://www.linkedin.com/post-inspector/inspect/

Add this to your <head> tag (won’t work in <body>):
<meta property=”og:image” content=”http://url.to/preview/imageLocation.jpg” />
<meta property=”og:description” content=”Description of Conent” />
<meta property=”og:title” content=”Social Media Title” />
<meta name=”twitter:site” content=”@twitterhandle”> <meta name=”twitter:domain” content=”http://www.domain.com/”/>
<meta name=”twitter:card” content=”summary_large_image”>
<meta name=”twitter:image” content=”http://url.to/preview/imageLocation.jpg“> <meta name=”twitter:title” content=”Title for Twitter”>

You may want to have a place on your news page to upload an image (or 2) for social sharing then create images using this guide: https://makeawebsitehub.com/social-media-image-sizes-cheat-sheet/

Also, if you’ve got validation errors, it may not share correction on LinkedIn.

Monitoring Facebook Reach and Likes through Google Sheets

I live and die by data, and my favorite way to convey data is through Google Sheets. I recently wanted to set up a way to track all outreach efforts by the non-profit I work for. Instead of manually adding facebook insight numbers on every post, I thought there must be a way to automatically pull those reach numbers from Facebook into my spreadsheet.

As I began my research the first several articles were clear product placement articles for Supermetrics. They want to charge you $100 a month to pull the data in for you. That’s quite a steep price for a non-profit, so I continued looking.

Turns out Facebook has a quite extensive API to accomplish this and Ana at MixedAnalytics lays out step by step how to set up an API token that doesn’t expire and some examples of the post data that you can pull using it. Here’s the link to the article which I highly recommend if you, like me, want a direct update to your google sheets data with Facebook analytics.