I want to copy a whole website (uncopyrighted)'s contents to a Blogspot blog.
Basically if a website has a table of contents like this:
Intro (link)
Chapter 1 (link)
Chapter 2(link)
etc...
How do I make a program so that automatically the links to these articles are posted to my Blogspot blog, and when I click on the links it goes to posts within my blogspot as opposed to the actual link?
So basically I want a program that does this:
When there is a series of links on a website, open link 1, copy & paste on Blogspot (on a new post) open link2, repeat until end of link,
and then create a final post that has links with the same title as the original links, to all the Blogspot posts.
Blogger/Blogspot isn't the best-suited tool for this. Wouldn't it be easier to just mirror the website's content elsewhere?
# Mirror an entire website (-m), convert links (-k), and wait (-w) 2 seconds between requests.
wget -mk -w 2s http://www.example.com/
Still, if you're adamant about it, you could take a look at the Import/Export feature in Blogger.
There is by definition no uncopyrighted content.
If the site you want to copy is using javascript magic then there is no easy general option, otherwise i agree with John to use "wget".
But from your question you should take a basic programming course first and come back in a few months.
Related
So in gitlab you can use [[_TOC_]] to display a table of contents for the current page - which works on headings.
But I want to have a heirachy in my wiki like:
<home-url>/Project1
<home-url>/Project1/Tools
<home-url>/Project1/Debugging
<home-url>/Project1/Debugging/GDB
<home-url>/Project1/Debugging/MSVS
Such that in the Project1 page I get an index (links) to each section similar to the table of contents layyout - e.g.:
- Tools
- Debugging
- GDB
- MSVS
I can do this manually, but that's a pain to maintain. Is there some automatic tool to do this for me like TOC?
The TOC support steams from issue 2494, and was implemented in issue 21901, which gave us the Markdown [[_TOC_]] syntax.
Even the current request to support [TOC] instead (issue 14193) does not mention any layout option to include a hierarchical display.
As mentioned in the first issue:
If you need more control, you can open a new issue at https://gitlab.com/gitlab-org/gitlab/issues and upvote it.
For example: issue 215988: "Add Gollum depth level support for Wikis Table of Contents [[_TOC_]]"
Having the ability to limit a [[TOC]] depth is useful to show a more synthetic view of a page while keeping its deeply nested structure.
See also GitLab 15.3 "Visualize table of contents in the WYSIWYG wiki editor".
Thanks to VonC for the actual answer - i.e. there is not such a feature at the moment (well, not quite as I want it) - but there is the side bar in gitlab wiki which shows you the pages within your wiki.
If you structure you wiki into folders and subfolders then you can navigate with this side bar "tree". Its not collapseable - so its just a bog-roll off text, but it is indented to aid navigation.
It works well enough for simple wikis with a few dozen pages - but probably if there are hundreds of pages it might start to breakdown - at that point you might want to break your wiki up into several wikis with a top-level links page or some such.
Here is (a crap) picture - it was the best I could see on google without looking too hard see here
You get this for free (without doing anything) so its decent for most cases.
we offer some freeware and I created text counter to count the downloads but some of the visitors or web pages uses direct link instead of my
txt counter's links for example
My text counter's link is:
http://www.example.org/dns_jumper/downloads26.php
Direct link is:
http://www.example.org/dns_jumper/askadmin/AskAdmin.zip
is it posible to disable second direct link but allow the only firs direct link (there are more than 20 links like that)
Have looked on here plenty but this is the first time I've asked a question, so please bear with me.
Within my SharePoint site collection, I have a list of links to other systems within the business - this list is hidden to all users apart from Admins. There is a department column, indicating the department each link belongs to. There are two filter columns in this list - one is "active", the other is "show in System Links".
On each departmental page, there is a Content by Query Web Part (CQWP) showing the list, filtering to show:
- Specific departmental links
- Only where active
Separately to this, there is another CQWP on the homepage of the site collection showing all those links that have "show in System Links" ticked.
What this allows me to do is if for some reason a system is offline for maintenance, I can change the "active" value in the list and all links will vanish (preventing users going to the external system). It also allows me to add prominence to a link on the homepage if it's of particular focus that day / week / month (i.e. link to HR system to book leave if there's a leave deadline coming up).
What I want to do is move the homepage System Links CQWP to under the Quick Links on the left hand side, so they appear on every page. I did this with no problems in 2010, by literally dragging and dropping in the visual view for the master page, but seem to be struggling in 2013.
I've tried following the advice here:
http://ramisharepointblog.blogspot.co.uk/2013/01/how-to-add-custom-webpart-within.html
When I add these to the .html master file, I get an error message saying that I need to change the file extension of my HTML file to something else.
I get this message whether I copy and paste the code, or whether I use the button "insert web part". (Obviously doing this in SPD 2013)
When I do this, it seems to lose the reference to the .master file (or explode!)
As an alternative, I tried adding the code into the .master file, but of course I can't do this, as it won't let me move / edit / copy a .master file.
Any help in this would be MUCH appreciated, as I seem to be banging my head against a wall here.
On SharePoint 2013 you can not add the Web Parts to the master page the same way of 2010.
Please use the Design Manager -> Snippet Gallery.
In short:
You must wrap the Register tag with: <!--SPM: register tag -->
Like this:
<!--SPM:<%#Register Tagprefix="Publishing" Namespace="Microsoft.SharePoint.Publishing.WebControls" Assembly="Microsoft.SharePoint.Publishing, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%>-->
You should wrap the opening tag of your Web Part with: <!--MS: tag -->
And the closing tag with: <!--ME: tag -->
The Web Part would look like this:
<!--MS:<asp:SiteMapDataSource ShowStartingNode="True" SiteMapProvider="SPNavigationProvider" ID="topSiteMap" runat="server" StartingNodeUrl="sid:1002">-->
…
<!--ME:</asp:SiteMapDataSource>-->
(Snippet Gallery will automatically create the tags in the right way and you can copy it to your master page.)
Possibly related to my question, have a look at the detailed answer given here: How to embed SharePoint 2013 webparts directly in aspx layout page as default webparts for that layout
I know this is an old question, but users get encouraged to search, and this is what came up, so I thought I'd help out fellow other users find an answer :P
I have a website and a google blogger site in conjunction. I would like to add a section to my website home page that displays the 3 or 4 most recent blog posts (post title and the first 100-200 words of the post).
Is there a widget that will do this or any suggestion on how to set this up?
Thanks!
I found a really useful tutorial that does exactly what I want very easily. Inputs the post title, date/time of the entry, and the first 150 characters in the post. Very easy to set up.
http://alt-web.blogspot.com/2011/06/adding-blogger-rss-feed-to-html-page.html
Thanks!
I would suggest writing a short PHP script to print out the first 4 items from the RSS feed...
Check out feedburner. https://feedburner.google.com/
Specifically, look at the BuzzBoost option under publicize. This allows you to embed javascript in your HTML that will generate HTML of your last few posts.
I want to create a news site in which there will be two sort of pages:
Home Page: showing the main updated (last) article today.
News Page: showing a selected news.
Both pages should look like a simple news site (showing the main article) and both should have related last news on the side.
What I want to do, is a lot like what's mentioned in the site:
Link
Problems:
This site only shows how to create the related news and not the main article.
I wanted to know how to do the same thing only without a news site (meaning a simple list with a Wiki field where the picture should be)
How can I (hoping its possible) take a Wiki field in CQWP and add smaller "width"?
Thank you in advance,
Mor Shemesh.
Create a publishing site
On the default.aspx put s Conent Query web part, configure it to show 1 article, sorted by date in decending order
Create another welcome page and put a Content Query web part there also, configure it to show several item, according to the filter you need