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
(async () => { | |
const contentful = require("contentful"); | |
const parallel = require("async-parallel"); | |
const space_id = "SPACE_ID"; | |
const environment_id = "ENV_ID"; | |
const access_token = "ACCESS_TOKEN"; | |
let content_type_ids = [ | |
"content_type_id1", |
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
package com.contentful.java.cda.integration; | |
import com.contentful.java.cda.*; | |
import com.contentful.java.cda.QueryOperation.*; | |
import com.contentful.java.cda.TransformQuery.ContentfulEntryModel; | |
import com.contentful.java.cda.TransformQuery.ContentfulField; | |
import com.contentful.java.cda.TransformQuery.ContentfulSystemField; | |
import com.contentful.java.cda.lib.Enqueue; | |
import com.contentful.java.cda.lib.EnqueueResponse; | |
import org.junit.Before; |
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 React, { useContext } from 'react'; | |
import { Box, makeStyles, Theme, Typography } from '@material-ui/core'; | |
import clsx from 'clsx'; | |
import { ContentfulContext } from '@pages/_app'; | |
const useStyles = makeStyles((theme: Theme) => ({ | |
xframeRoot: { | |
backgroundColor: '#fff', | |
position: 'relative', | |
zIndex: 1, |
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
PoP Code | City | Country | Continent | |
---|---|---|---|---|
CPT | Cape Town | South Africa | Africa | |
JNB | Johannesburg | South Africa | Africa | |
NBO | Nairobi | Kenya | Africa | |
BAH | Manama | Bahrain | Asia Pacific | |
BJS | Beijing | China | Asia Pacific | |
BLR | Bangalore | India | Asia Pacific | |
BOM | Mumbai | India | Asia Pacific | |
DEL | New Delhi | India | Asia Pacific | |
DXB | Dubai | United Arab Emirates | Asia Pacific |
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
(async () => { | |
const contentful = require('contentful-management') | |
const parallel = require("async-parallel"); | |
const client = contentful.createClient({ | |
accessToken: '<CMA_TOKEN>' | |
}) | |
const space_id = '<SPACE_ID>' | |
const environment_id = '<ENV_ID>' |
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
product name | product description |
---|
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
[ | |
{ | |
"code": "AMS", | |
"name": "Amsterdam", | |
"group": "Europe", | |
"coordinates": { | |
"x": 0, | |
"y": 0, | |
"latitude": 52.308613, | |
"longitude": 4.763889 |
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
(async () => { | |
const contentful = require('contentful-management') | |
const parallel = require('async-parallel'); | |
// change these to match your info | |
const space_id = 'your-space-id' | |
const environment_id = 'your-env-id' | |
const content_type = 'your-content-type-id' | |
const cmaToken = 'your-CMA-token' | |
const concurrency = 3 // adjust down if you are seeing many rate limit warnings |
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
/* eslint-disable func-names */ | |
/* eslint quote-props: ["error", "consistent"]*/ | |
'use strict'; | |
const Alexa = require('alexa-sdk'); | |
const APP_ID = process.env.APP_ID; | |
const contentful = require('contentful') | |
const contentfulClient = contentful.createClient({ | |
space: process.env.SPACE, |
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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<!-- Required meta tags --> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |
<!-- Bootstrap CSS --> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous"> | |
<title>Comments</title> |
NewerOlder