July 18, 20169 yr 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
July 18, 20169 yr 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?
July 19, 20169 yr Author 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.
July 19, 20169 yr 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
July 19, 20169 yr Author Thanks Mike. Unfortunately this is a bit beyond what I understand about web viewers and html. Would it be possible (or easy) for you to show me an example of how this would work using this profile? https://www.linkedin.com/in/jack-sheehan-85412465
July 19, 20169 yr 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.
July 19, 20169 yr Author 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.
July 19, 20169 yr 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 July 19, 20169 yr by comment
Create an account or sign in to comment