TYPO3 extension: NewsSystem/ news (not tt_news) - typo3-6.2.x

I want to make a news site at my homepage. Therefore I am using the extension news system with the key news from extension manager.To embed a news article with image in teaser was no problem, but how to embed a youtube video in the teaser?
Somebody got an idea? Who is able to help me?

You could extend your extension with a custom extension by adding a field for YouTube IDs. Then overwrite the template path to a new Teaser template via TS and copy/edit this template to show your YouTube iframe.

Related

generating streaming link api

i want to know how to use google api, can anyone give some example using php.
eg. use api to get picasa album rss.
Any help is appreciated!
For that you have to embed the video in your html with an iframe and a url like this:
<iframe src="https://drive.google.com/file/d/{videoID}/preview" width="640" height="480"></iframe>
Just change the {videoID} for the id of you video.
To get that code from Google, you should follow the next steps:
Open the video in your Drive.
In the top right of the view, you will see an icon that says "Pop-out", Click on it.
It will open the video in a new tab.
In the new tab click on the icon of the three dots that says "More actions" (in the top-center).
Select the option that says "Embed item...". You will see a popup with html code.
In general, there is no way to "predict" or "construct" a direct link to your Drive file. The supported method of getting the link is to use the Drive API. If you make an HTTP request to the file metadata endpoint https://www.googleapis.com/drive/v2/files/{fileId} with a valid API key, the webContentLink value should be the googleusercontent.com URL for your file.
You can try this out on the Google API Explorer - drive.files.get to see all of the information which is available through the Drive API.

Customize facebook share content

I have a WordPress website and where I want to set the custom title, description and image for each URL so that when someone share the URL than they see the content and image which is I predefine. Is it possible? I tried couple of plugin but stuck with it more and more. Anybody can tell me how can I do it.
For SEO, I have used the Wordpress SEO by Yoast which allows you to do that on a previous project to great effect.
For Facebook to read the title, description and images for sharing, Opengraph tags have to be generated. For more about opengraph tags, refer to the Facebook Developer Guide on using proper opengraph tags. The Yoast SEO plugin does generate the relevant opengraph tags for sharing.
Specifically the Yoast plugin changelog enhancements include:
Added Facebook / OpenGraph title input and Google+ title input and image upload field to Social tab.
Added Facebook / OpenGraph title input for the homepage on SEO -> Social settings page.
Changed Facebook / OpenGraph default image and homepage image input fields to use the media uploader.

Any experience with adding Fotorama to a Sitefinity site?

I am working on a project which includes a content slider (images, videos, captions) and we use Sitefinity 5.1. I've been playing with Fotorama and now want to add my content to the site. Has anyone here done that and can give me some guidance?
This is what you could do:
Create a Dynamic Module with fields: Title (Short Text), Description (Long Text), Image (Media Picker). If you need other video's than the builtin Sitefinity video's, use another text field for storing the url to that video.
Add some content :)
Create or change the template that the Module Builder created for you so that the Fotorama Javascript and CSS files are loaded correctly. Make sure the markup of the generated template matches the basics of the Fotorama requirements.
Hope this helps you to get started?
Daniel.

How to use the Featured Item slider 2.0 in Orchard CMS

I am very new to orchard CMS... i am trying to make a site in orchard CMS as this is my first site in orchard... i am facing a fair bit of problem and hindrances to over come... my background of the CMS for creating websites is wordpress/PHP....
but now there in this project i have a problem for the slider in the home page! how could i implement a slider in the home page... after searching a bit i have found to use the featured image slider.. i have tried to implement it... i have installed the module and made the featured group... now MY PROBLEM IS WHERE I CAN ADD THE IMAGES IN THE SLIDER... AS THE FEATURE ITEM FROM THE MENU ONLY SHOW THREE FIELDS HEADLINE,SUB-HEADLINE, AND LINKURL...
kindly let me know where do i can add the images in this slider and show them on the home page of my site....
Thanks alot in advance....
After hell of the search i have got the solution for that purpose... i am elaborating my answer step wise so that the new guys like me should understand that without an inconvenience...
normally orchard CMS uses nivo slider bydefault... if you want to use other sliders follow the same path as pasted below...
1: if you have download the Orchard CMS there will be a Jquery function in the layout.cshtml and the jquery file will also be linked in the script tag, pointing to the package of Jquery in Js or anyother folder...
2: Get the name of the div for which the Jquery is pointing to... normally the name will be "slider".... Copy that name and paste it in your home from CMS... but make sure to keep the name of the div same as the Jquery function narrates which is ("slider").
3:Link your images in the Div...
and browse the site in the browser and enjoy the slider...
I have a fantastic tutorial on pepfry.com for this issue. I have a complete tutorial where I show you all the steps to successfully install the 'Featured Item Slider' with screenshots.
I also have a video on YouTube where you can see the Image slider working successfully.
Regards!
Sumesh M.S

how to add Blogger Header Image

I am a newbie in Blogger and minimal skills in programming and web designs. i would like to know or ask how can i add image in my blogger header that turns into a link to my homepage?
thank you very much and have a good day!
To Add an image to Blogger header follow these steps:
go to blogger design tab
Select Header link top of your blog widget
there you can find a link to Browse and attach an image to your header with an image.
you can find here some options to put some text and image or only image such e.t.c
Basically you have to add image and url in header-wrapper using html edit,if you are not into web design,see this thread