PranasLu's Blog

2011-08-22

Tinklapio pašalinimas iš google paieškos rezultatų, kai tu nesi tinklapio savininkas

Filed under: Kita — Tags: , , — pranaslu @ 12:26

Priešistorė

Anksčiau rašiau, kaip atnaujinti tinklapio kopiją google paieškoje  (“google cache”), kai tu nesi to tinklapio savininkas: https://pranaslu.wordpress.com/2010/04/22/greitas-google-cache-ivalymasatnaujinimas-kai-tu-nesi-svetaines-savininkas/

Gavau nevieną pasiteiravimą, iš kurių matyti kad žmonės maišo google paieškos rezultatą ir tinklapio kopiją google paieškoje (ang. google cache).

Skirtumą paaiškina sekantis pavyzdys:
Google paieškoje galiu susirasti tinklapį su konfidencialia informacija. Bet paspaudus surastą nuorodą atsidarys tuščias puslapis su užrašu “404 Page not found”. Tai reiškia kad tinklapis jau ištrintas, bet google paieška vistiek jį randa, remiantis senesne informacija. Negana to google dar saugo pas save to tinklapio kopiją ir ją galima peržiųrėti paspaudus “Cached” nuorodą:

image

Kaip pašalinti tinklapį iš google paieškos rezultatų

Gavau nevieną užklausimą, kaip visiškai pašalinti tinklapį iš google.

Atminkite: Visiškai pašalinti tinklapį iš google paieškos, kai nesate to tinklapio savininkas, galite tik dviem būdais:

1) Nusiųsti google’ui įrodymus apie pažeistas jūsų teises.

2) Su tinklapio administratoriaus pagalba (juk būtų nelogiška, jei bet kuris žmogus galėtų paprašyti ištrinti pvz. Delfi portalą iš google paieškos Smile)

Čia rašysiu tik apie antrajį variantą, t.y. su tinklapio administratoriaus pagalba.

Tinklapio administratorius turi atlikti vieną iš sekančių veiksmų.

  • Visiškai pašalinti tinklapį. If the page no longer exists, make sure that the server returns a 404 (Not Found) or 410 (Gone) HTTP status code. This will tell Google that the page is gone and that it should no longer appear in search results.
  • Palikti puslapį, bet pakeisti robots.txt failą, kad google paieškoje jo neberodytų. If the page still exists but you don’t want it to appear in search results, use robots.txt to prevent Google from crawling it. Note that in general, even if a URL is disallowed by robots.txt we may still index the page if we find its URL on another site. However, Google won’t index the page if it’s blocked in robots.txt and there’s an active removal request for the page.
  • Palikti puslapį, naudoti “noindex” žymę. Alternatively, you can use a noindex meta tag. When we see this tag on a page, Google will completely drop the page from our search results, even if other pages link to it. This is a good solution if you don’t have direct access to the site server. (You will need to be able to edit the HTML source of the page).

In addition, if you want a non-HTML file (for example, a downloadable PDF) to be removed from search results, you or the webmaster should ensure that the file is removed from the server. Once it’s gone, use the process below to request that the page is completely removed from search results.

Po šių administratoriaus veiksmų jūs turite atlikti sekančius veiksmus:

  1. Go to http://www.google.com/webmasters/tools/removals.
  2. If you’re not immediately taken to the ‘Create a new request’ page, click New Removal Request.
  3. Type the URL of the webpage you want removed (not the Google search results URL or cached page URL). Note that the URL is case-sensitive—you will need to submit the URL using exactly the same characters and the same capitalization that the site uses. How to find the right URL. Click Continue.
  4. Click Webmaster has already blocked the page.
  5. Select the checkbox to confirm the requirements listed in this article have been completed, and then click Submit Request.

Dabar belieka laukti, kol automatinis google procesas atsinaujins savo duomenis.

Nuorodos

https://www.google.com/webmasters/tools/removals

http://www.google.com/support/webmasters/bin/answer.py?answer=164734&hl=en – Remove a page or site from Google’s search results

Advertisements

2011-07-12

TSQL script to delete all MSSQL schema objects

Filed under: Programming — Tags: , , — pranaslu @ 18:29

declare @schema varchar(200)
select @schema = ‘AUTH’

DECLARE DeleteStatements CURSOR LOCAL STATIC FOR
select
‘DROP ‘ + case
    when o.xtype = ‘U’ then ‘TABLE’
    when o.xtype = ‘V’ then ‘VIEW’
    when o.xtype = ‘P’ then ‘PROCEDURE’
    when o.xtype = ‘FN’ then ‘FUNCTION’
    end + ‘ ‘ + s.name + ‘.’ + o.name as SQL
from
    sys.sysobjects as o
    join sys.schemas as s on o.uid = s.schema_id
where
    s.name = @schema and
    o.xtype in (‘U’,’V’,’P’,’FN’)
   
DECLARE @Statement nvarchar(4000) 
OPEN DeleteStatements 
 
WHILE 1=1 BEGIN
    FETCH NEXT FROM DeleteStatements INTO @Statement 
    IF @@FETCH_STATUS<>0 BREAK 
     
    EXEC (@Statement) 
END
 
CLOSE DeleteStatements 
DEALLOCATE DeleteStatements 

2011-04-01

A New Task Scheduler Class Library for .NET

Filed under: Articles, Programming — Tags: , — pranaslu @ 11:26

http://www.codeproject.com/KB/cs/tsnewlib.aspx

2011-03-07

Links: ASP.NET image optimization & CSS variables

Filed under: Programming — Tags: , , , , — pranaslu @ 11:23

Sprite and Image Optimization Preview 3
The ASP.NET Sprite and Image Optimization framework is designed to decrease the amount of time required to request and display a page from a web server by performing a variety of optimizations on the page’s images.
http://aspnet.codeplex.com/releases/view/61896

.less
Dynamic CSS for .NET. Write regular CSS with your .NET apps, then add a few variables, mixins and nested rules.
http://www.dotlesscss.org/

2011-01-13

Tip&Trick: Xslt and multi-line text in HTML, WordML

Filed under: Programming — Tags: , , , — pranaslu @ 10:19

The code below shows how to convert linebreak to <br/>. You can easily adopt this template to convert linebreak to anything else.

Use this template to substitude newlines in HTML:

<xsl:template name="br">
    <xsl:param name="text"/>
    <xsl:choose>
        <xsl:when test="contains($text,'
')">
            <xsl:value-of select="substring-before($text,'
')"/>
            <br/>
            <xsl:call-template name="br">
                <xsl:with-param name="text">
                    <xsl:value-of select="substring-after($text,'
')"/>
                </xsl:with-param>
            </xsl:call-template>
        </xsl:when>
        <xsl:otherwise>
            <xsl:value-of select="$text"/>
        </xsl:otherwise>
    </xsl:choose>
</xsl:template>

And call it upon your text item like this:

<xsl:call-template name="br">
    <xsl:with-param name="text" select="somenode/mytext"/>
</xsl:call-template>

Source: http://stackoverflow.com/questions/2196258/xslt-and-multi-line-text-sitecore

2011-01-10

Article: Version Control for Multiple Agile Teams

Filed under: Articles, Programming — Tags: , — pranaslu @ 19:48

Source: http://www.infoq.com/articles/agile-version-control

2011-01-01

Knockout: JS MVVM

Filed under: Programming — Tags: — pranaslu @ 23:31

Simplify dynamic JavaScript UIs by applying the Model-View-View Model (MVVM) pattern

http://knockoutjs.com/

2010-12-29

4guysfromrolla: 2010’s Most Popular Articles

Filed under: Articles, Programming — Tags: , , , — pranaslu @ 10:07

http://www.4guysfromrolla.com/articles/122910-1.aspx

LESS: Improved CSS – variables, mixins, nested rules, operations

Filed under: Programming — Tags: — pranaslu @ 10:03

http://lesscss.org/index.html

2010-12-22

Article: Setting up Subversion (SVN) on Windows

Filed under: Articles, Programming — Tags: , — pranaslu @ 09:16

Išbandžiau, veikia, bent jau ant lokalaus kompo.

http://www.codinghorror.com/blog/2008/04/setting-up-subversion-on-windows.html

2010-12-08

Behavior-Driven Development with SpecFlow and WatiN

Filed under: Articles, Programming — Tags: , , , , — pranaslu @ 10:34

http://msdn.microsoft.com/en-gb/magazine/gg490346.aspx

2010-12-06

Slash your ASP.NET compile/load time without any hard work

Filed under: Articles, Programming — Tags: , , — pranaslu @ 09:36

http://blog.lavablast.com/post/2010/12/01/Slash-your-ASPNET-compileload-time.aspx

2010-11-30

MS Office Word 2007 automation on Windows 2008 server

Filed under: Programming — Tags: , , , , — pranaslu @ 13:17

Jei gaunama klaida: [Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80070005] reikia suteikt admin teises NETWORK SERVICE (arba tam, kuris nurodytas AppPool “Identity” nustatyme) accountui. DCOMCfg suteikt tam useriui “Local Launch” ir “Local Activation” teises.

 

Jei Open() metodas grazina null:

ApplicationClass WordApp = new ApplicationClass();
Document aDoc = WordApp.Documents.Open(…);

Reikia sukurt katalogus:

・Windows 2008 Server x64

  C:\Windows\SysWOW64\config\systemprofile\Desktop

・Windows 2008 Server x86

  C:\Windows\System32\config\systemprofile\Desktop

2010-11-13

Tool: Secure erase disc drives (hdd, usb, sd,…) (Disc Wipe) – Free

Filed under: hardware — Tags: , , , — pranaslu @ 15:13

http://www.diskwipe.org/

2010-10-25

A successful Git branching model

Filed under: Programming — Tags: , , , — pranaslu @ 19:47

Source: http://nvie.com/posts/a-successful-git-branching-model/?

2010-10-20

How to disable browser’s autocomplete (eg. saving password) feature via HTML

Filed under: Programming — Tags: , , — pranaslu @ 15:11
HTML example:
<input type=”password” AUTOCOMPLETE=”off”>
jQuery example:
$("input[type=password]").each(function() {
    $(this).attr('AUTOCOMPLETE', 'off');
});
NOTE: It seems that ‘AUTOCOMPLETE’ property is case sensitive. It doesn’t work when I use {autocomplete=’off’}.

2010-10-12

DENIM: pen-based sketching tool for designing user interfaces

Filed under: Programming — Tags: , , , — pranaslu @ 14:52

DENIM is an outgrowth of the original SILK project, a pen-based sketching tool for designing user interfaces. SILK combines many of the benefits of paper-based sketching with existing electronic prototyping tools. It allows designers to quickly sketch an interface using an electronic pad and stylus…

Source: http://dub.washington.edu:2007/denim/

2010-10-05

Article: Cross domain single sign on

Filed under: Articles, Programming — Tags: , , — pranaslu @ 09:05

Proposed_SSO_model_overview.png

Source: http://www.codeproject.com/KB/aspnet/CrossDomainSSOExample.aspx

2010-09-14

Article: Truncating a text string in ASP.NET to fit within a given pixel width

Filed under: Articles, Programming — Tags: , , , — pranaslu @ 08:58

image

Source: Truncating a text string in ASP.NET to fit within a given pixel width

Article: ASP.NET Runtime Impersonation

Filed under: Articles, Programming — Tags: , — pranaslu @ 08:37

… how to move an uploaded file from an ASP.NET server to a file server on the network. The answer is of course by impersonating…

Source: Back to Basic – ASP.NET Runtime Impersonation

Older Posts »

Blog at WordPress.com.