Skip to content

Latest commit

 

History

History
52 lines (42 loc) · 3.41 KB

README.md

File metadata and controls

52 lines (42 loc) · 3.41 KB

Shef.AI

logo

Sheffield Data Science and AI Community


Website GitHub stars GitHub forks GitHub license

This is the official website for the Sheffield Data Science and AI Community.

How to update the LinkedIn post

To update the latest LinkedIn post on the website:

  1. Navigate to the post on the LinkedIn feed you want to embed to the Shef.AI website.
  2. Click the More icon in the post’s top right corner.
  3. Click Embed this post.
  4. 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
      
  5. Open the media-linkedin.json file that is available in json folder of the project repository.
  6. Replace the url in embed-link field with the copied link from LinkedIn.

How to update news/events content

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:

  1. 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.

  2. 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:

  3. You have now prepared your text in JSON format. The last step is to update a record in the .json files:

    1. Open the news.json or events.json file in the json folder of the project repository.
    2. Replace the value of your desired field with the generated single-line text from the previous steps.

Privacy notice

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.