Skip to content
#

json-ld

Here are 279 public repositories matching this topic...

api-platform
jvigneron
jvigneron commented Nov 28, 2019

Description
To be able to optionaly remove the google fonts dependency on any page of the api-platform.

Example
Remove the google font stylesheet in line 8 in the file api-platform\core\src\Bridge\Symfony\Bundle\Resources\views\SwaggerUi\index.html.twig depending on a configuration variable.

Context
I'm working on an intranet application for a 100000+ employees company and

chescos
chescos commented Sep 2, 2019

When setting the config option meta.defaults.canonical to null, the canonical URL will be set from the value of Url::full() instead of Url::current(). Url::full() includes query parameters and the canonical URL is usually used to strip away query parameters like UTM tags, search parameters, and so on.

I mean, what's even the point of specifying a canonical URL from the full URL? That'

core
quentinus95
quentinus95 commented Feb 6, 2020

API Platform version(s) affected: 2.5.1

Description
Today, JSON Schemas generated by API-Platform do not include additionalProperties: false. This reduces type saftey when using a code generator.

How to reproduce
Create an ApiResource in a new project, check the generated Swagger documentation. The JSON Schema generated for the ApiResource does not include `additionalProp

nicholascar
nicholascar commented Mar 20, 2020

Graph().parse("some-file.ttl", format="turtle") is a common way to load RDF into an rdflib Graph. We have methods such as rdflib.util.guess_format() to guess format from the file extensions so what we need now is for guess_format() to be triggered automatically if format is not given so parse() can be used like this:

Graph().parse("some-file.ttl")
MarkLyck
MarkLyck commented Feb 25, 2020

Description
Trying to build a React App using jsonld in a sub node_module causes the following error.

/Users/xxxxxx/node_modules/jsonld/lib/jsonld.js: /Users/xxxxxx/node_modules/jsonld/lib/jsonld.js: Property name expected type of string but got null

There's only one instance of jsonld. v1.8.1

@xxx/xxxxxxx@1.0.0 /Users/xxxxxx
└─┬ @api-platform/admin@2.0.1
  ├─┬ @api-plat
kamilliano
kamilliano commented Jan 10, 2019

Hi,
wanted to ask if anyone out there has used extruct on AWS lambda? I tested running extruct function which seems to fail to work for rdfa. Other default metadata types are fine.

A simple test case:

import pprint as pp
import requests
from extruct.rdfa import RDFaExtractor
import config_files.logging_config as log

logger = log.logger

def main():

    try:
        import e
robjloranger
robjloranger commented Feb 24, 2020

I'm hoping to work on forgefed integration in gitea, or a standalone go forge.

As there is a lot of prior work done here already it only makes sense to improve the overall community by contributing to this and related work under go-fed.

I'm not really sure where to start at the moment so just wanted to drop in here and see if there is something you would recommend to start with or somewhere

Schema.NET
veikkoeeva
veikkoeeva commented Aug 5, 2017

Hi!

I was wondering if you would have advice on how to use this interesting library in ASP.NET Core controllers so that roughly the following would work:

[HttpPost("[action]")]
public IActionResult Test([FromBody] Thing thing)
{
    var e = (Person)thing;
    return Accepted(new Uri("https://wwww.WhereToAskForResults.com"));
}

That is, accept JSON-LD data via a base classes.

hugo-theme-meme
he-sb
he-sb commented Apr 8, 2020

配置文件中修改了:

enableGitInfo = true
[frontmatter]
    lastmod = ["lastmod", ":git", ":fileModTime", ":default"]

博客使用 Travis-CI 自动构建, .travis.yml 文件在 这里这里 ,这两个博客都是相同的状况;

测试了本地执行 hugo 生成的网站中修改日期是正确的 git 时间,但不知为何 Travis-CI 自动构建出来的网站,所有文章的修改日期都变成了触发了自动构建的时间,网上搜了一

CreateSean
CreateSean commented Nov 1, 2019

Craft 3.3.14
SEOmatic 3.2.29

When using Content SEO settings for a channel I want the SEO image to pull from a SEO Image field and if that is empty then use the image in the Book Cover field.

However the only way this works is if you place the twig code in SEO Image custom URL setting on the general tab, then copy to the facebook tab, and copy again to the twitter tab. Using the **same as

Improve this page

Add a description, image, and links to the json-ld topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the json-ld topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.