This is the official website for the Sheffield Data Science and AI Community.
To update the latest LinkedIn post on the website:
- Navigate to the post on the LinkedIn feed you want to embed to the Shef.AI website.
- Click the More icon in the post’s top right corner.
- Click Embed this post.
- Copy the url that is available in
scr
attribute from the pop-up window.- Let’s consider the following pop-up is shown when you clicked on Embed this post:
<iframe src="https://www.linkedin.com/embed/feed/update/urn:li:share:6922167380462698496" height="834" width="504" frameborder="0" allowfullscreen="" title="Embedded post"></iframe>
- From the above code, only copy the url in the
scr
attribute, i.e.,https://www.linkedin.com/embed/feed/update/urn:li:share:6922167380462698496
- Let’s consider the following pop-up is shown when you clicked on Embed this post:
- Open the
media-linkedin.json
file that is available injson
folder of the project repository. - Replace the url in
embed-link
field with the copied link from LinkedIn.
All news/events data have been stored in the .json
files available in the json
folder of the project repository.
Provided below are the steps you can pass to update the news/events data:
-
Prepare the text you are going to put on the website. If you are willing to use the formatted text, you can use one of the following converter websites to generate HTML code from your rich text:
Please write your text in the text box and convert it to HTML codes.
-
When your text has been formatted and HTML code has been generated, you must convert it to a single-line JSON file. In other words, multiline texts are not allowed to be used in JSON files. You can convert a multiline formatted text to a single-line text using the following website:
-
You have now prepared your text in JSON format. The last step is to update a record in the
.json
files:- Open the
news.json
orevents.json
file in thejson
folder of the project repository. - Replace the value of your desired field with the generated single-line text from the previous steps.
- Open the
To see our Privacy Notice, please go to Shef.AI Website Policy Notice about what types of personal information will be gathered and how this information will be used.