Jump to content

This topic is 3140 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Can the web viewer be used to display raw html like attached? I put this text into a field and have the web viewer reference that field, however it does not display anything. If I add text like http://www.cnn.com it works just fine. 

html_sample.rtf

Posted

I think you are looking to use a data URL to display html. Basically, you can use the following to display it in a web viewer:

"data:text/html," & $your.html.here

Does that help?

Posted

Brilliant Mike! That is exactly what I was looking for. Thanks so much.

Posted

Hey Mike do you think this same technique could be used to display just the photograph from some one's linked in page? Trying to automate a little humanity into my contacts table, and we already have everyone's linked in url captured in the database.

Posted

Sure, you can have the HTML for displaying an image, and if your image is in a container field, you can use the base64 functions to also display that inline.

I have some examples of how you might do this in a blog post with sample file to download here:

http://www.soliantconsulting.com/blog/2014/06/filemaker-13-working-base-64

Hope this helps.

Mike

Posted

The picture on that page can be displayed by setting your web viewer to the following address:
https://media.licdn.com/mpr/mpr/shrinknp_200_200/p/2/005/057/3c2/3b7764b.jpg

I don't know what - if any - logic would allow you to calculate the image's location from the URL of a person's profile. You might be able to run a script to extract the image location from a given profile - but you would be at the mercy of the LinkedIn webmasters, who can change their schema at any time.

Whatever you do, make sure to read the site's terms of use.

Posted

Right, ideally I am not extracting an image, but instead displaying that image from the contacts linked in profile page using a web viewer. The key is the logic display this for all contacts, given that we have a link to their linked in page already in our database.

Posted (edited)
9 minutes ago, ddinisco said:

The key is the logic display this for all contacts,

As I said, I don't see any such logic. My guess is that they store the image on their media server under a randomly assigned name, and link that random name to the member's record in their database.

 

9 minutes ago, ddinisco said:

I am not extracting an image, but instead displaying that image from the contacts linked in profile page

Some web sites have rules against that.

 

Edited by comment

This topic is 3140 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.