T O P I C R E V I E W |
richfed |
Posted - 01 August 2015 : 10:30:07 When posting on Facebook, for example, you can copy and paste a URL to a news story and the result is a nice, vibrant, dynamic picture with the news story encapsulated. Looks good and is much more likely to catch the attention of a reader and get them to read on.
Is that something that could be modded into the capacity of Snitz-based forums? |
10 L A T E S T R E P L I E S (Newest First) |
HuwR |
Posted - 06 August 2015 : 13:32:02 you mean something like this
http://forum.snitz.com/mvc/Home/TestPage
mm, I seem to have broken that now |
HuwR |
Posted - 06 August 2015 : 10:37:20 There are some third party utils you could use, but most of them are server based, it is not as simple as it looks
|
richfed |
Posted - 06 August 2015 : 09:59:25 When I post a link to Facebook, for example, I check copy & past the URL from the origin site to my Facebook wall and it 95% of the time displays as expected. Sometimes, I get a company logo or something, but it is fairly reliable. Would be great to be able to do that on the forums, but it is not that important. If it's a lot of trouble to code, just forget it. I was thinking it seems so simple on Facebook, maybe it would be simple here. It's no really big deal to me. Thanks, HuwR. |
HuwR |
Posted - 05 August 2015 : 16:51:45 ok, there are several ways that this can be done, however they all rely on being able to parse something meaningful from the link, what that is obviously varies from site to site. I'm not sure exactly what facebook does, but have discovered that it is fairly inaccurate. I imagine for news links from reputable sites, that they all use a similar structure like an rss feed so parsing is easy, however if you post a link to some common or garden site like this for example, what you get back may not be what you expected. I used http://forum.snitz.com/mvc and what I got from facebook was an image of the page from maybe 3 weeks ago |
HuwR |
Posted - 05 August 2015 : 09:37:23 Will try and get some instructions sorted for you later today |
HuwR |
Posted - 02 August 2015 : 15:37:06 you'll also need to include the jquery js files. If I get chance in the next couple of days, I'll write a brief guide for you, just remind me after tomorrow if you don't see anything (I'm out tomorrow, but should be able to sort it out Tuesday ) |
richfed |
Posted - 02 August 2015 : 10:32:18 Lost me, HuwR, on the "container div". So, once I know what that is, and put in my website domain, I can just copy & paste that? Where? |
Carefree |
Posted - 01 August 2015 : 14:06:17 I know next to nothing about jquery. Wouldn't know how to integrate that, but I do know how to restrict the use of iframes by mLev and preclude users from quoting them, etc. |
HuwR |
Posted - 01 August 2015 : 12:01:50 you could do it easily using jquery and load into a div
e.g
$("#siteloader")
.html('<object data="http://your-website-domain"/>');
#siteloader being the id of the container div |
Carefree |
Posted - 01 August 2015 : 11:36:46 You'd have to allow frames, it's a security risk. |