Thumbnail image of Links in my Community page - javascript

I have been searching hard on when a user pastes a link in the community page, and posts it. Then just below the link - a small image of the site and brief description of the site appears.
This is similar to when you post a link in Linkedin, and when you post it, then in the post automatically a small image of the website that this link points to appears, and also a brief descritption of the site, which I believe is the title.
I have searched a lot, but could not find a place to start on how to do this. If anyone can give me a starting point, it would be highly appreciated.
Best Regards,

This really would be highly valuable for all sorts of applications. Doing a quick SO and Google search, I found one service that has an API for this: https://www.url2png.com.
I'm not sure, but it would seem that this type of function would have to be done backend with software installed on your server. This makes sense as we're working with rendering images; and current browsers (through Javascript or APIs) don't yet seem to have the ability to render images. (Anyone provide links to documentation in the comments if I'm wrong about this?)
Update
Here's another one I found that has command-line open-source code: http://cutycapt.sourceforge.net/

Related

PowerPoint Slideshow Viewer Online

I'm looking for a service online that would allow me to run a PowerPoint Slideshow (along with slide transitions and animations).
As we know we have Office Online available for this purpose and also this* url can help you achieve slideshow capabilities.
But these options don't give much control to developers to develop some experiences based on slideshow capabilities they provide. So I'm looking for alternatives though it doesn't seems there is anything like thing as per research I did so far.
Any solution or workaround would be highly appreciated. Thanks.
* https://view.officeapps.live.com/op/view.aspx?src=abc.com
PS. We have different parser/extractor libraries for PPTX but nothing is there that allows view of PPTX/Slideshow over the html web-page.
For future reference
Just dumping my thoughts for future reference. As of now, no solution or workaround is possible other than Office Online itself as mentioned in Question above.
Aspose is planning to provide support to similar subject requirements in future. So hopefully once the new version of the library is out, we will be able to achieve the desired behavior.
Aspose Reference Ticket.
Could you just build it on the Desktop version of PowerPoint and drop it into OneDrive folder? As far as i can tell, if you drop it into OneDrive, it'll run as-is in online via PowerPoint 365.

How to get CandidateID from SuccessFactors Career (recruitment) site?

I'm trying to build a Fiori application (sapui5) and it is deployed, working through link. My problem is: I have to put it on a recruitment site, the Career Opportunities site (it is somehow connected to SAP Successfactors), and I am supposed to know the person's CandidateID because my app is based on that.
So when somebody applying for a job in Career Opportunities site, and clicks on "Next" (after filling in the fields), they get to a site where there are some information and my link. When they click on the link, I should get their candidateId to my link.
How could I get that? Is there any way?
The Information of all candidates can be retrieved via OData API.
The site you are referring to is probably a career site builder page. Within SFSF this pages can be adapted with standard elements how the page should look like.
One element is the custom Javascript plugin where you are quite free in what you are doing.
Unfortunately I doubt that you can compose a link containing the candidate ID without doing some heavy stuff you should NOT do like reading the URL and extracting the candidate ID or something like this.
Long answer short: it might be possible technically but you really should avoid it, also in terms of security - it also sounds like you do not really know the system where your link magically appears. So: don’t do it :)

Github sharing widgets

I saw a little sharing widget for github on a jquery plugin's page, but, I don't remember what site it's from. So i've been doing some searching and it doesn't seem to exist so I thought i'd post here and see if anybody else has seen what i'm looking for.
Basically the widget was the same as a facebook like or tweet button, but when you clicked it, it starred the project on github. I'm totally ok with making a widget with the api, which I am researching right now so see if I can do this.
Anybody seen anything like this in the wild?
You are probably looking for the unofficial GitHub buttons.

Getting most recent youtube video links for a user using API

So, I've been reading the Youtube API--I'm interested in showing the three most recent videos uploaded by a user. But, as I've never navigated an API or done this kind of work before, I'm a bit confused by what exactly the API here is trying to tell me. What I DO understand is that if I enter a URL like the following:
https://gdata.youtube.com/feeds/api/users/aosjeff/uploads
Then I'll get a ton of information in a kind of list. What I don't understand is how to navigate that list in HTML, and make it return a link to the most recent video (or second most recent, etc) so that I can embed that video into the page. Can anyone explain this to me? Really appreciate the help!
Note: I'm working within site building software that will not allow me to use PHP or reference .php files.
Simon
You should look at parsing the xml data with php. This is probably the easiest way of doing things. Beginners tutorial here:
http://www.kirupa.com/web/xml_php_parse_beginner.htm

What library can I use to pick images from Google in my web app?

I am creating a web app, part of which requires people add "experiences" to a list. These might include foods to eat, places to go, sights to see, etc. I want people to be able to add their own event to a list and have an image associated with them.
I find that when people have to locate their own image from the web, download it, and then upload it to another site, it's too much effort and they won't do it. Therefore I think people should be able to choose an image from a Google search within my app, and select and image which the app then uses as the image for that "experience". I know this can be done using the Google search API, and you can specify only public domain images, so that there's no legal ramifications of using images from Google.
I imagine this is quite a common thing for websites to do. I thought I would be able to find a Javascript library that launches a lightbox over the top of a page and allows a search and selection of an image, but I can't seem to find one. Does anyone know of any such library, or anything similar?
Alternatively, is there some obvious way around this issue that someone has seen? What is a good way to avoid the "upload image" process for a website, but still have image-enriched content? I'm sure there's something obvious I'm overlooking here.
Thanks!
The now deprecated Image API was one starting point to do it, however you still have to implement the lightbox ... https://developers.google.com/image-search/v1/
Be careful when you are looking at using the image search results! apart from (possible) copyright issues also make sure that you have permission from Google to do automated requests against them.

Categories

Resources