I'm am successfully posting Open Graph stories without object titles, per the instructions here:
Objects without titles
However, the text in my post is not being linked to my object URL. Even in the instructions there are inconsistencies - e.g. "Alberto Tretti took a photo with Dev Sandbox" - photo is usually linked but in the last example on the page it's not - see attached screenshots. How can I make sure there is a link to my object URL?
I know this post is almost a year old, but it was the first google result in my search so I think it deserves an answer. A warning before I begin, I haven't used self hosted objects or objects without titles so this may be wrong but this seems to apply to the rest of the Facebook sharing that I've done. With that said…
In both of the examples you posted there is a link to the object. In the first it is the word "photo" in "Alberto Tretti took a photo with Dev Sandbox." in the second it is the "object title' in the object section underneath it.
By my understanding unless in the open graph story you modify the share text so that it doesn't include the default share text it will always include a link to the object. If you want there to be a link in the text of the post you can modify the "One to One - Without Object Title" post in the story you are using to use some other part of your object, like the description or a custom property.
Related
Our Marketing department would like a way to tag and search (perhaps a couple thousand) images.
IT is moving everyone away from file shares, and we have a bunch of free space in SharePoint; so that is looking like a good option, but I am running into some problems.
I have created a Picture Library and uploaded some pictures to test with. I've added a Managed Metadata column for the tags.
The issue is that Marketing would like to be able to bulk tag photos with existing tags, and to have those tags added rather than overwriting the existing tags.
I have been following this tutorial, which seems like it would get me exactly what I need, but I am not able to select a range of records to tag, and I am not getting the "Add these terms to all selected fields" option. Instead of "Quick Edit" I only have "Edit in grid view". Otherwise, the screenshots in the tutorial make it look like I'm on the same version of SharePoint. I'm using SharePoint Online.
The screenshot below is from the tutorial. I do not get the options in the first image, but I get the very same screen as in the second image.
Screenshot from Tutorial
I am working on designing webpage UI where some experimental data is stored. This data could be inaccurate sometimes so I'm providing a button at the bottom of the page which redirects the user to the new issue webpage in GitLab. Look at the sample below.
And this button will take the user to somewhere like this:
The URL behind the button is simply
<full-path-to-some-gitlab-repo>/issues/new?issue[title]=Issue%20with%20experiment%20%201
which was taken from GitLab official documentation.
As you can see here, there's an option to automatically fill the Title section directly from URL but I couldn't figure out how to do the same for Labels. Is there any way to do it this way?
For internal requirements, there must be a label automatically selected and the users can't be relied on to select it by themselves. For each webpage, a new label is assigned which makes it possible to extract all the issues related to that webpage later just by extracting all issues with that label. This might not be an optimal way to do this so if you have any other suggestions, please put them in comments. Thanks.
This does not seem yet supported, regarding pre-filling labels on issues.
That was requested in issue 63392, but without solution for now.
I want to define a new template called "product".
This template calls an external service and retrieves the information about that specific product. That is easily done with a custom plugin that access the product information. Information on how to do that has been found here.
However, I would like that the URL of the page would be something like:
/product/<id>/<seo-friendly-description>
So I can retrieve in the Twig template both <id> and <seo-friendly-description> which will be used later to retrieve the specific product information.
I have tried to find something that could help in the documentation, without success. Could someone either point me to the right doc section or highlight the basic steps that shall be achieved so I can start solving this issue?
Just in case it helps, I am trying to find something similar to how bottle or other web frameworks work:
#route('/hello/<name>')
def greet(name):
return 'Hello ' + name
I've been building a family recipebook into my own website and I've been working through a similar problem. I haven't quite worked out all the kinks, but my solution is mostly working if you want to checkout my github repo.
In short, you need the plugin to watch what the active route is. If the route matches, you then create the page and populate it using your plugin data.
I haven't quite figured out how to get the active page to highlight in the navigation menu for generated pages, but you might still find this solution helpful.
Currently Google displays elements in the result excerpts that belongs to the functional part of the site. Is there a way to exclude these elements to get crawled/displayed in google?
Like eEdit, eDelete, etc in the example above.
To exclude the pages from Google's index, block them using the Robots.txt file or if it is just the content then use the "rel="nofollow" tag.
Hope this helps.
Update on my particular situation here: I just found out that the frontend code has been generated in a way where the title and the description meta was identical.
Google is smart enough to expect that if a copy is already displayed in the title of the search result there's no reason to add in to the excerpt as well, instead looks for content - believed to be valuable - from the actual page.
Lessons learned:
there's no way to hide elements from google but keep it visible for your users
if you'd like to have control over the content displayed in google searches, avoid using the same copy in your title and description
After having followed the instructions to "unabridge" blog posts in Orchard, I'd now like to separate the blog post date and comment-count, so that the date appears ahead of the blog post, and the comment-count appears after. How would that be done?
Even better, I'd additionally like to have the comment-count be a hyper link to the blog post detail. How would that be done?
To do this and many other similar things, you should enable shape tracing (it comes as part of the designer tools module). This will show you what template is rendering what, and also where they are positioned. It will also tell you what templates you can create in your theme to override behavior. The Model tab in particular will show you the whole model object graph and will give you the expression to put in your template to include any property into your markup.